!1224 回退移除动态授权

Merge pull request !1224 from yanghang/master
This commit is contained in:
openharmony_ci 2024-07-19 02:26:18 +00:00 committed by Gitee
commit e850af0897
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -90,7 +90,6 @@ void DatabusSocketListener::ServerOnShutdown(int32_t socket, ShutdownReason reas
ZLOGE(LABEL, "fail to get invoker");
return;
}
RemoveSessionName();
invoker->OnDatabusSessionServerSideClosed(socket);
}
@ -122,7 +121,6 @@ void DatabusSocketListener::ClientOnShutdown(int32_t socket, ShutdownReason reas
}
}
EraseDeviceLock(socketInfo);
RemoveSessionName();
invoker->OnDatabusSessionClientSideClosed(socket);
}