Cygwin: posix timers: fix resource leak
On setting the timer, the thread is accidentally only canceled when disarming the timer. This leaks one thread per timer_settimer call. Move the thread cancellation where it belongs. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
13
winsup/cygwin/release/3.0.3
Normal file
13
winsup/cygwin/release/3.0.3
Normal file
@@ -0,0 +1,13 @@
|
||||
What's new:
|
||||
-----------
|
||||
|
||||
|
||||
What changed:
|
||||
-------------
|
||||
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
|
||||
- Fix a resource leak in posix timers.
|
||||
Addresses: https://cygwin.com/ml/cygwin/2019-03/msg00120.html
|
Reference in New Issue
Block a user