FreeRDP/winpr/include
Martin Fleisz b5fa928311 core: Fix race when deleting channel manager
This PR fixes a possible crash when the channel manager was freed and
there were pending messages in the message queue.
The problem was that even though the message queue already received the
WMQ_QUIT message, it was still possible to enqueue messages after this
point. This resulted in unprocessed messages in the queue when it was
deleted. The delete handler then called into channel handlers which
where aleady freed/deleted.
With this PR adding messages after WMQ_QUIT was posted to the message
queue returns an error and all channel messages are now processed before
the channels are closed/terminated.
2020-11-03 17:08:58 +01:00
..
winpr core: Fix race when deleting channel manager 2020-11-03 17:08:58 +01:00
CMakeLists.txt Added cmake patch from @david-geiger 2016-01-21 15:30:55 +01:00