diff --git a/effects.cpp b/effects.cpp index 80b71d40c8..f5f8a8f3b6 100644 --- a/effects.cpp +++ b/effects.cpp @@ -278,6 +278,7 @@ EffectsHandlerImpl::~EffectsHandlerImpl() effect_libraries[ name ]->unload(); } } + loaded_effects.clear(); } void EffectsHandlerImpl::setupClientConnections(Client* c)