MCPcopy Create free account
hub / github.com/SpartanJ/eepp / ~PluginBase

Method ~PluginBase

src/tools/ecode/plugins/plugin.cpp:240–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240PluginBase::~PluginBase() {
241 mShuttingDown = true;
242 unsubscribeFileSystemListener();
243
244 for ( auto editor : mEditors ) {
245 for ( auto listener : editor.second )
246 editor.first->removeEventListener( listener );
247 editor.first->unregisterPlugin( this );
248 }
249}
250
251void PluginBase::onRegister( UICodeEditor* editor ) {
252 Lock l( mMutex );

Callers

nothing calls this directly

Calls 2

unregisterPluginMethod · 0.80
removeEventListenerMethod · 0.45

Tested by

no test coverage detected