summaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-cpp-src-IceGrid-RegistryI.cpp
blob: 46403f4345d7f13e2fb3845de2dbe37db06fb68c (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	2019-08-12 19:54:18 UTC
+++ cpp/src/IceGrid/RegistryI.cpp
@@ -46,6 +46,13 @@ using namespace std;
 using namespace Ice;
 using namespace IceGrid;
 
+namespace IceGrid
+{
+
+ICE_GRID_API void setRegistryPluginFacade(const RegistryPluginFacadePtr&);
+
+}
+
 namespace
 {
 
@@ -157,6 +164,7 @@ RegistryI::RegistryI(const CommunicatorPtr& communicat
 
 RegistryI::~RegistryI()
 {
+    IceGrid::setRegistryPluginFacade(0);
 }
 
 bool