risoflora / brookframework

Microframework which helps to develop web Pascal applications.
https://risoflora.github.io/brookframework
GNU Lesser General Public License v2.1
233 stars 54 forks source link

Application crashes when it is being closed #5

Closed silvioprog closed 5 years ago

silvioprog commented 5 years ago

Hello,

To reproduce it, just:

it will crash dumping the following stack log:

HTTPServer_frMain.TfrMain.UpdateControls
HTTPServer_frMain.TfrMain.BrookHTTPServer1Stop($3A47D90)
BrookHTTPServer.TBrookHTTPServer.DoClose
BrookHTTPServer.TBrookHTTPServer.SetActive(False)
BrookHTTPServer.TBrookHTTPServer.Close
BrookHTTPServer.TBrookHTTPServer.UnloadLibCb($3A47D90)
libsagui.SgLib.CallUnloadCbs
libsagui.SgLib.Unload
BrookLibraryLoader.TBrookLibraryLoader.Close
BrookLibraryLoader.TBrookLibraryLoader.Destroy
System.TObject.Free
System.Classes.TComponent.DestroyComponents
System.Classes.TComponent.Destroy
FMX.Types.TFmxObject.Destroy
FMX.Forms.TCommonCustomForm.Destroy
FMX.Forms.TCustomForm.Destroy
System.TObject.Free
System.Classes.TComponent.DestroyComponents
FMX.Forms.DoneApplication
System.SysUtils.DoExitProc
System._Halt0