﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3218	_Timer_KillTimer don't kill timer.	autoBert		"{{{
    #include <Timers.au3>

Global $hGUI, $g_iIDTimer

_Example_TimeOut()

Func _Example_TimeOut()
	Local $hGUI = GUICreate("""", 140, 64, -1, -1, 0)
	GUICtrlCreateLabel(""Waiting for timeout"", 8, 8, 115, 17)
	GUISetState(@SW_SHOW)

	$g_iIDTimer = _Timer_SetTimer($hGUI, 10000, ""TimedOut"") ; create timer
	ConsoleWrite($g_iIDTimer&@CRLF)
	While 1
		Sleep(20)
		If GUIGetMsg()= -3 Then ExitLoop
	WEnd
	GUIDelete($hGUI)
EndFunc   ;==>_Example_TimeOut

Func TimedOut($hWnd, $iMsg, $iIDtimer, $iTime)
	#forceref $hWnd, $iMsg, $iIDTimer,$iTime
	_Timer_KillTimer($hGUI,$g_iIDTimer)
	ConsoleWrite('TimedOut happend'&@error&@CRLF)
	ConsoleWrite($__g_aTimers_aTimerIDs[1][0]&@CRLF);<=== shows $g_iIDTimer which i have deleted 
EndFunc   ;==>TimedOut

}}}"	Bug	closed		AutoIt	3.3.14.2	None	No Bug		
