Quote:
Originally Posted by GsiX
@Bacardi is OnMapEnd() guaranteed to fire every time and safe to CloseHandle() there or should i just do it on OnMapStart()?
|
If your timer is stored into
global variable you should use this example
Code:
public void OnMapEnd() {
KillTimer( g_hTimer );
g_hTimer = null;
}
or just
Code:
public void OnMapEnd() {
delete g_hTimer;
}
__________________