I think problem is that nsIAppStartup::Quit have some async calls and returns sooner than application is actually quit. The session manager is expecting that Firefox quit is finished when it returns from nsNativeAppSupportUnix::DieCB method.
We need to wait in nsNativeAppSupportUnix::DieCB until application actually finish quitting. Is there something for this in current code?
I think problem is that nsIAppStartup::Quit have some async calls and returns sooner than application is actually quit. The session manager is expecting that Firefox quit is finished when it returns from nsNativeAppSupp ortUnix: :DieCB method.
We need to wait in nsNativeAppSupp ortUnix: :DieCB until application actually finish quitting. Is there something for this in current code?