Disconnecting
Prev | Chapter 2. Connecting your code to signals | Next

## Disconnecting

If you decide you no longer want your code to be called whenever a signal is emitted, you must remember the return value of `connect()`, which we've been ignoring until now.

`connect()` returns a `sigc::connection` object, which has a `disconnect()` member method. This does just what you think it does.

Prev | Up | Next
Signals with parameters | Home | Chapter 3. Writing your own signals