summaryrefslogtreecommitdiff
path: root/devel/ice37/files/patch-cpp-src-IceGrid-RegistryI.cpp
blob: 24999e88883a00bfb3c621b472928d430bd3c0b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- cpp/src/IceGrid/RegistryI.cpp.orig	2021-06-21 14:44:58 UTC
+++ cpp/src/IceGrid/RegistryI.cpp
@@ -41,6 +41,13 @@ using namespace std;
 using namespace Ice;
 using namespace IceGrid;
 
+namespace IceGrid
+{
+
+ICEGRID_API void setRegistryPluginFacade(const RegistryPluginFacadePtr&);
+
+}
+
 namespace
 {
 
@@ -178,6 +185,7 @@ RegistryI::RegistryI(const CommunicatorPtr& communicat
 
 RegistryI::~RegistryI()
 {
+    IceGrid::setRegistryPluginFacade(0);
 }
 
 bool