15.6. Disabling a Connection

To temporarily disable a field connection, call enableConnection(FALSE) on the destination field or call enable(FALSE) on the engine output.

This method is useful when you want to temporarily disable a large engine network. If you disconnect the field from the engine, that engine might be unreferenced to 0, and then mistakenly deleted. Disabling a field connection does not affect the engine's reference count. Use the isConnectionEnabled() method to query whether a connection has been enabled.