FreeRDP/winpr
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
..
include core: Fix race when deleting channel manager 2020-11-03 17:08:58 +01:00
libwinpr core: Fix race when deleting channel manager 2020-11-03 17:08:58 +01:00
test Reformatted to new style 2019-11-07 10:53:54 +01:00
tools Fixed typos (Otherweise) 2020-05-10 16:35:20 +09:00
.gitignore Add library libwinpr-tools 2016-05-03 14:42:08 +02:00
CMakeLists.txt Fix #6066, #6045: Disable spincount by default. 2020-04-13 09:56:19 +02:00
winpr.pc.in Include major version number in library names 2017-01-16 11:11:58 +01:00
WinPRConfig.cmake.in build: remove FREERDP_MONOLITHIC_BUILD 2016-01-12 17:32:32 +01:00
wlog.7 Fix issues in wlog man page 2016-12-01 15:36:31 +01:00