mirror of https://github.com/adamdruppe/arsd.git
forgot to closehandle
This commit is contained in:
parent
de037b37df
commit
c4f1afe1ec
|
@ -1370,6 +1370,7 @@ class Timer {
|
||||||
// KillTimer(null, handle);
|
// KillTimer(null, handle);
|
||||||
CancelWaitableTimer(cast(void*)handle);
|
CancelWaitableTimer(cast(void*)handle);
|
||||||
mapping.remove(handle);
|
mapping.remove(handle);
|
||||||
|
CloseHandle(handle);
|
||||||
handle = null;
|
handle = null;
|
||||||
}
|
}
|
||||||
} else version(linux) {
|
} else version(linux) {
|
||||||
|
|
Loading…
Reference in New Issue