summaryrefslogtreecommitdiff
path: root/devel/ice37/files/patch-cpp-src-IceGrid-RegistryI.cpp
blob: afa418cdeb943caf9ac3e3873f45a18a4443daf5 (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	2018-04-20 15:02:08 UTC
+++ cpp/src/IceGrid/RegistryI.cpp
@@ -46,6 +46,13 @@ using namespace std;
 using namespace Ice;
 using namespace IceGrid;
 
+namespace IceGrid
+{
+
+ICEGRID_API void setRegistryPluginFacade(const RegistryPluginFacadePtr&);
+
+}
+
 namespace
 {
 
@@ -183,6 +190,7 @@ RegistryI::RegistryI(const CommunicatorP
 
 RegistryI::~RegistryI()
 {
+    IceGrid::setRegistryPluginFacade(0);
 }
 
 bool