[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sc-devel] Problem with UI.shutdown order
hi,
i have a severe problem with the latest RC: there is a race condition
in UI -> shutdown : what never happened before in three years is that
NetAddr's
UI.registerForShutdown({
this.disconnectAll;
});
is executed before JSCWindow's
UI.registerForShutdown({ this.closeAll });
... that means that the windows cannot be closed any more (the TCP
connection is cut before JSCWindow.closeAll is called) ...
that is obviously very bad and i don't know how to solve that
problem. has the class initialization order been changed in some way?
can NetAddr's disconnectAll be executed after the shutdown
registrations?
ciao, -sciss-