Skip to content

Commit

Permalink
Remove incorrect assertion that is violated at start
Browse files Browse the repository at this point in the history
(cherry picked from commit 148213d)
Signed-off-by: Avery King <avery98@pm.me>
  • Loading branch information
Paul-Licameli authored and generic-pers0n committed Aug 27, 2024
1 parent 9048c29 commit a0e948d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion libraries/lib-module-manager/PluginManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,6 @@ static PluginManager::FileConfigFactory sFactory;

PluginManager & PluginManager::Get()
{
wxASSERT(sFactory);
if (!mInstance)
{
mInstance.reset(safenew PluginManager);
Expand Down
1 change: 0 additions & 1 deletion libraries/lib-module-manager/PluginManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ class MODULE_MANAGER_API PluginManager final : public PluginManagerInterface

bool DropFile(const wxString &fileName);

//! @pre Initialize() has been called
static PluginManager & Get();

static PluginID GetID(ModuleInterface *module);
Expand Down

0 comments on commit a0e948d

Please sign in to comment.