We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a4376b commit f075058Copy full SHA for f075058
offload/plugins-nextgen/common/src/PluginInterface.cpp
@@ -1633,11 +1633,12 @@ Error GenericPluginTy::deinit() {
1633
if (GlobalHandler)
1634
delete GlobalHandler;
1635
1636
- if (RPCServer) {
+ if (RPCServer->Thread->Running.load(std::memory_order_relaxed))
1637
if (Error Err = RPCServer->shutDown())
1638
return Err;
1639
+
1640
+ if (RPCServer)
1641
delete RPCServer;
- }
1642
1643
if (RecordReplay)
1644
delete RecordReplay;
0 commit comments