forked from rosebudai/OpenRCT2-Web
Mark plugins that errored in main as started (#17207)
This is to make sure plugin still runs stop / clean up code before it is unloaded. Otherwise context menu items etc. are not removed.
This commit is contained in:
1 parent
16585ecaf2
commit
3acec45f97
1 file changed
-1
@@ -97,7 +97,6 @@ void Plugin::Start()
|
||||
{
|
||||
auto val = std::string(duk_safe_to_string(_context, -1));
|
||||
duk_pop(_context);
|
||||
_hasStarted = false;
|
||||
throw std::runtime_error("[" + _metadata.Name + "] " + val);
|
||||
}
|
||||
duk_pop(_context);
|
||||
|
||||
Reference in new issue
Block a user