Skip to content

Commit cdfc391

Browse files
committed
Make autest happier during shutdown
1 parent eff0ac9 commit cdfc391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proxy/http/remap/PluginFactory.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ PluginFactory::~PluginFactory()
103103
_instList.apply([](RemapPluginInst *pluginInst) -> void { delete pluginInst; });
104104
_instList.clear();
105105

106-
{
106+
if (!TSSystemState::is_event_system_shut_down()) {
107107
uint32_t elevate_access = 0;
108108

109109
REC_ReadConfigInteger(elevate_access, "proxy.config.plugin.load_elevated");

0 commit comments

Comments
 (0)