Removes a source from its MainContext, if any, and mark it as destroyed.
The source cannot be subsequently added to another context. It is safe to call this on sources which have already been removed from their context.
a SocketSource