View Single Post
Mitchell
~lick~
Join Date: Mar 2010
Old 07-19-2018 , 10:20   Re: [Any] Delay Command (testing appreciated!)
Reply With Quote #12

Quote:
Originally Posted by ddhoward View Post
delete is just CloseHandle() with the added bonus of setting the passed variable to null by-reference. In this case, delete is incorrect, because you're totally right: I'm leaking DataPacks by not instead using KillTimer(hTimer, true) in OnClientDisconnect(). This still doesn't explain the error log, though.
iirc Closing the handle does not stop a timer, so it will execute sooner or later. I may be wrong on this though.

Last edited by Mitchell; 07-19-2018 at 10:23.
Mitchell is offline