forked from qt-creator/qt-creator
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.
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#define PLUGINSPEC_P_H
|
||||
|
||||
#include "pluginspec.h"
|
||||
#include "iplugin.h"
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QStringList>
|
||||
@@ -56,7 +57,7 @@ public:
|
||||
bool loadLibrary();
|
||||
bool initializePlugin();
|
||||
bool initializeExtensions();
|
||||
void stop();
|
||||
IPlugin::ShutdownFlag stop();
|
||||
void kill();
|
||||
|
||||
QString name;
|
||||
|
||||
Reference in New Issue
Block a user