mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 17:46:29 +03:00
Avoid crashes on plugin unload while loading.
This commit is contained in:
@@ -71,7 +71,7 @@ void Plugin::showMessage( LSPMessageType type, const std::string& message,
|
||||
&msgReq );
|
||||
}
|
||||
|
||||
Plugin::~Plugin() {
|
||||
void Plugin::waitUntilLoaded() {
|
||||
while ( mLoading )
|
||||
Sys::sleep( Milliseconds( 1 ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user