Skip to content

Commit 38b3f45

Browse files
committed
[Offload] Fix offload-info interface
Summary: The offload info tool doesn't initialize things properly, just check this first instead.
1 parent 6ff86f2 commit 38b3f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

offload/plugins-nextgen/common/src/PluginInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1633,7 +1633,7 @@ Error GenericPluginTy::deinit() {
16331633
if (GlobalHandler)
16341634
delete GlobalHandler;
16351635

1636-
if (RPCServer->Thread->Running.load(std::memory_order_relaxed))
1636+
if (RPCServer && RPCServer->Thread->Running.load(std::memory_order_relaxed))
16371637
if (Error Err = RPCServer->shutDown())
16381638
return Err;
16391639

0 commit comments

Comments
 (0)