﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
779	Infinite Loop On Exit	anonymous	Jpm	"Infinite Loop On Exit

I opened this test script and then closed it. When I pressed the close button, it started refreshing the contents all the other open windows. It slowed down my computer so I couldn't do much. Task Manager couldn't close it as it the script was refreshing the window. I could only end it by pressing CTRL + Pause/Break to force quit in Scite.

{{{
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUIListBox.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate(""Form1"", 633, 447, 192, 124)
$Edit1 = GUICtrlCreateEdit("""", 80, 64, 329, 193)
GUICtrlSetData(-1, ""Edit1"")
$Button1 = GUICtrlCreateButton(""Button1"", 88, 280, 105, 25, 0)
$Button2 = GUICtrlCreateButton(""Button2"", 224, 288, 153, 25, 0)
$List1 = GUICtrlCreateList("""", 448, 64, 129, 201)
GUISetState(@SW_SHOW)
$Form2 = GUICreate(""Form1"", 200, 200, 200, 200, BitOR($WS_SYSMENU,$WS_CAPTION,$WS_CHILD,$WS_BORDER,$WS_CLIPSIBLINGS), BitOR($WS_EX_MDICHILD,$WS_EX_WINDOWEDGE,$WS_EX_LAYERED), $Form1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
	EndSwitch
WEnd
}}}"	Bug	closed	3.3.1.0	AutoIt	3.3.0.0	None	Fixed		
