There was a bad merge in the polite-close branch (revision 424 "Politely asks processes to close before resorting to killing Fixes: #1434584") which made ApplicationManager::stopApplication() call application->close() twice.
There was a bad merge in the polite-close branch (revision 424 "Politely asks processes to close before resorting to killing Fixes: #1434584") which made ApplicationMana ger::stopApplic ation() call application- >close( ) twice.