From b3dbc4b4e4fd97c9a3327d72272402d1cc6cd5f4 Mon Sep 17 00:00:00 2001 From: con Date: Tue, 13 Jul 2010 13:36:47 +0200 Subject: Add flag to IPlugin::aboutToShutdown that allows asynchronous shutdown. If a plugin requests asyncronous shutdown, the shutdown sequence does not continue to deleting the plugins before it has sent a asynchronousShutdownFinished signal. During that time an event loop is running. --- src/plugins/debugger/debuggerplugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/debugger/debuggerplugin.h') diff --git a/src/plugins/debugger/debuggerplugin.h b/src/plugins/debugger/debuggerplugin.h index d3fadff4c6..b183c3c855 100644 --- a/src/plugins/debugger/debuggerplugin.h +++ b/src/plugins/debugger/debuggerplugin.h @@ -121,7 +121,7 @@ private: friend class Internal::DebuggerListener ; bool initialize(const QStringList &arguments, QString *errorMessage); - void aboutToShutdown(); + ShutdownFlag aboutToShutdown(); void extensionsInitialized(); void remoteCommand(const QStringList &options, const QStringList &arguments); -- cgit v1.2.1