Quote:
Originally Posted by ddhoward
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.