mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 17:46:29 +03:00
Basic debugging working.
This commit is contained in:
@@ -45,6 +45,10 @@ PluginManager* Plugin::getManager() const {
|
||||
return mManager;
|
||||
}
|
||||
|
||||
PluginContextProvider* Plugin::getPluginContext() const {
|
||||
return mManager ? mManager->getPluginContext() : nullptr;
|
||||
}
|
||||
|
||||
UISceneNode* Plugin::getUISceneNode() const {
|
||||
return mManager->getUISceneNode();
|
||||
}
|
||||
@@ -117,8 +121,8 @@ void Plugin::setReady( Time loadTime ) {
|
||||
PluginBase::~PluginBase() {
|
||||
mShuttingDown = true;
|
||||
unsubscribeFileSystemListener();
|
||||
|
||||
for ( auto editor : mEditors ) {
|
||||
onBeforeUnregister( editor.first );
|
||||
for ( auto listener : editor.second )
|
||||
editor.first->removeEventListener( listener );
|
||||
editor.first->unregisterPlugin( this );
|
||||
|
||||
Reference in New Issue
Block a user