Mercurial > dwindows
comparison win/dw.c @ 1987:21811c9e2eaf
OS/2: Fix memory and HAB/HMQ leak when compiled with Watcom C.
OS/2 and Win: Fix resource leak when calling dw_thread_end().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 15 Sep 2019 23:02:16 +0000 |
parents | c35b68443905 |
children | 197f9463efa8 |
comparison
equal
deleted
inserted
replaced
1986:218fce0e3b06 | 1987:21811c9e2eaf |
---|---|
11868 * Ends execution of current thread immediately. | 11868 * Ends execution of current thread immediately. |
11869 */ | 11869 */ |
11870 void API dw_thread_end(void) | 11870 void API dw_thread_end(void) |
11871 { | 11871 { |
11872 #if !defined(__CYGWIN__) | 11872 #if !defined(__CYGWIN__) |
11873 _dw_deinit_thread(); | |
11873 _endthread(); | 11874 _endthread(); |
11874 #endif | 11875 #endif |
11875 } | 11876 } |
11876 | 11877 |
11877 /* | 11878 /* |