Corinna Vinschen 094a2a17ad 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>
2019-03-06 22:19:16 +01:00

14 lines
180 B
Groff

What's new:
-----------
What changed:
-------------
Bug Fixes
---------
- Fix a resource leak in posix timers.
Addresses: https://cygwin.com/ml/cygwin/2019-03/msg00120.html