Steve Donovan:

It seems that the SciTEGTK destructor isn't called, because gtk_main()
never returns. The culprit is the use of gtk_exit(0) for normal
program exit.  If one replaces gtk_exit(0) with gtk_main_quit()
in SciTEGTK::QuitProgram() and SciTEGTK::QuitSignal(),
then gtk_main() returns and the destructor gets called.

  Does this work when SciTE is showing a modal dialog so has more
than one event loop active? The documentation for gtk_main_quit talks
about the "innermost".

  Neil
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to