On 8/16/07, Andre Arpin <[EMAIL PROTECTED]> wrote:
> Hi
>
> There is a problem with accessing widget objects when a program is terminated
> unexpectedly.

There may be, remember that both wxLua and wxWidgets do cleanup when
closing and you can't expect things to exist indefinitely.

> To reproduce simply bring up the editor and log-off or shut down.
> The config object is not reachable.

You mean log-off or shutdown the OS? I assume you mean in the
"function CloseWindow(event)" when it calls
ConfigSaveFramePosition(frame, "MainFrame")?

When a wxLuaState is closed the windows are deleted first, then the
data. Can this be duplicated in a simpler way? What about just killing
the process (though I've done that a million times without a problem)?

Regards,
    John Labenski

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to