https://issues.apache.org/ooo/show_bug.cgi?id=120095

--- Comment #4 from Ariel Constenla-Haile <[email protected]> ---
Looking at the mercurial history (unfortunately lost in the svn repo), I've
found:


changeset:   264153:4a1dfa1dcc01
parent:      263867:a4be016d908d
user:        mmeeks
date:        Fri Oct 23 10:50:22 2009 +0000
files:       sfx2/source/appl/shutdownicon.cxx
description:
Fix i#101245#


Bug 101245 - sfx2: gtk quickstarter crashes on disable/exit

That bug is back (or was never gone). It is reproducible in the two scenarios,
by disabling or exiting the quickstarter when there is no application window
opened:

In void ShutdownIcon::terminateDesktop()
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sfx2/source/appl/shutdownicon.cxx?view=markup#l590

582     // terminate desktop only if no tasks exist
583     Reference< XFramesSupplier > xSupplier( xDesktop, UNO_QUERY );
584     if ( xSupplier.is() )
585     {
586     Reference< XIndexAccess > xTasks ( xSupplier->getFrames(), UNO_QUERY );
587     if( xTasks.is() )
588     {
589     if( xTasks->getCount() < 1 )
590     xDesktop->terminate();
591     }
592     }

xDesktop->terminate() seems to be the culprit, it should be executed
asynchronously, by posting a user event.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to