Ja das aufräumen funktioniert noch nicht richtig. Sehe ich auch:
Code: Alles auswählen
#0 fpc_intf_decr_ref(0x153f64f8) at ..\inc\objpas.inc:59
#1 fpc_finalize(0x11df6c4c, 0x11eb228) at ..\inc\rtti.inc:349
#2 RECORDRTTI(0x11df6c18, 0x11eb27b, 0xe97ea30) at ..\inc\rtti.inc:227
#3 CLEANUPINSTANCE(0x11df6c18) at ..\inc\objpas.inc:745
#4 FREEINSTANCE(0x11df6c18) at ..\inc\objpas.inc:436
#5 DESTROY(0x11df6c18, 0x1) at ..\objpas\classes\compon.inc:494
#6 DESTROYCOMPONENTS(0x13b814f0) at ..\objpas\classes\compon.inc:513
#7 DESTROY(0x13b814f0, 0x0) at ..\objpas\classes\compon.inc:491
#8 DESTROY(0x13b814f0, 0x0) at lclclasses.pp:135
#9 DESTROY(0x13b814f0, 0x0) at include\control.inc:5137
#10 DESTROY(0x13b814f0, 0x0) at include\wincontrol.inc:6627
#11 DESTROY(0x13b814f0, 0x0) at include\customcontrol.inc:54
#12 DESTROY(0x13b814f0, 0x0) at include\scrollingwincontrol.inc:316
#13 DESTROY(0x13b814f0, 0x1) at include\customform.inc:212
#14 FREE(0x13b814f0) at ..\inc\objpas.inc:336
#15 DESTROYJITCOMPONENT(0x119f4448, 0) at ..\designer\jitforms.pp:777
#16 DESTROYJITCOMPONENT(0x119f4448, 0x13b814f0) at ..\designer\jitforms.pp:765
#17 DELETECOMPONENT(0x119d3c38, 0x13b814f0, true) at customformeditor.pp:563
#18 PREPAREFREEDESIGNER(0x100f3cc0, true) at ..\designer\designer.pp:814
#19 CLOSEUNITCOMPONENT(0x1193bcb8, 0x21eb70, []) at sourcefilemanager.pas:7638
#20 CLOSEEDITORFILE(0x1193bcb8, 0x10155720, [CFPROJECTCLOSING]) at sourcefilemanager.pas:2768
#21 CLOSEPROJECT(0x1193bcb8) at sourcefilemanager.pas:4385
#22 DOCLOSEPROJECT(0x105300c0) at main.pp:6237
#23 MAINIDEFORMCLOSEQUERY(0x105300c0, 0x11626258, false) at main.pp:2052
#24 CLOSEQUERY(0x11626258) at include\customform.inc:2247
#25 CLOSE(0x11626258) at include\customform.inc:2157
#26 WMCLOSEQUERY(0x11626258, , LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = , RESULTLO = 0, RESULTHI = 0, RESULTFILLER = }) at include\customform.inc:2255
#27 DISPATCH(0x11626258, 0) at ..\inc\objpas.inc:674
#28 WNDPROC(0x11626258, , LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = , RESULTLO = 0, RESULTHI = 0, RESULTFILLER = }) at include\control.inc:2254
#29 WNDPROC(0x11626258, , LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = , RESULTLO = 0, RESULTHI = 0, RESULTFILLER = }) at include\wincontrol.inc:5407
#30 WNDPROC(0x11626258, , LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = , RESULTLO = 0, RESULTHI = 0, RESULTFILLER = }) at include\customform.inc:1467
#31 WNDPROC(0x11626258, , LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = , RESULTLO = 0, RESULTHI = 0, RESULTFILLER = }) at mainbar.pas:551
#32 DELIVERMESSAGE(0x11626258, 0) at lclmessageglue.pas:112
#33 DOWINDOWPROC(0x22a9d8) at win32\win32callback.inc:2529
#34 WINDOWPROC(918956, 16, 0, 0) at win32\win32callback.inc:2691
#35 CUSTOMFORMWNDPROC(918956, 16, 0, 0) at win32\win32wsforms.pp:386
#36 gapfnScSendMessage at :0
#37 ?? at :0
#38 USER32!GetThreadDesktop at :0
#39 WIN32WSFORMS$_$TWIN32WSSCROLLBOX_$__$$_CREATEHANDLE$TWINCONTROL$TCREATEPARAMS$$LONGWORD at :0
#40 USER32!GetThreadDesktop at :0
#41 ?? at :0
Irgendwie scheint die Referenzzählung nicht zu passen.
Leider bin ich zur Zeit echt eingespannt, versuche aber wenn ich demnächst Zeit habe, dies zu debuggen. Evtl. findest du ja aber schneller die Ursache?!
