Commit 287f8a8b authored by Committed by Youness AlaouiBrowse files
Do not access component if it was destroyed when calling the io callback
When calling component_emit_io_callback, the agent mutex will be unlocked before the callback is called, this can cause another thread to remove the stream and thus destroying the component. We must verify that the source was not destroyed after calling component_emit_io_callback and avoid accessing the component in that case. Bug report by Stephan Thamm in the mailing list.