disconnect


Description:

[ Version ( since = "4.2" ) ]
public void disconnect (ulong id)

Disconnects the emission of a signal, does the opposite of connect_raw .

As soon as this method returns, the callback function set when connect_raw was called will not be called anymore (even if the object has emitted the signal in the worker thread and this signal has not been handled in the user thread).

Parameters:

this

a ThreadWrapper object

id

a handler ID, as returned by connect_raw