Ralesk has asked for the wisdom of the Perl Monks concerning the following question:

Fellow monks,

I’ve been working with a Gtk-based app and ActiveState’s PerlApp, turning the application into a single .exe file for Windows. It works fine, thanks to the previous conversations we had here a good while back.

The problem is that Gtk keeps some DLL files in memory, even after exiting, and as such, they’re locked — and so, PerlApp’s cleanup process can’t remove the temporary directories. The files that remain are theme engines, actually.

So I wonder how to fix this. Apparently, Wx has similar issues under PerlApp, but I haven’t found a proper solution for this yet.

I have tried to do a no Gtk2; in an END section, but that didn’t change anything. Any other ideas?

Replies are listed 'Best First'.
Re: PerlApp and Gtk: rmtree failed
by Anonymous Monk on Nov 08, 2012 at 17:13 UTC

    Any other ideas?

    Gtk probably supports unloading but its just the apps and bindings (like perl-Gtk) don't make use of it -- contact the devs/ file a bug report

    When I use smplayer sometimes the keyboard binding portion gets fubared because of this and reboot is the only option for me.