summaryrefslogtreecommitdiff
path: root/cpp/test/uwp/controller/ViewController.xaml.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-02-27 11:30:32 +0100
committerBenoit Foucher <benoit@zeroc.com>2018-02-27 11:30:32 +0100
commit39f3974e52572f33ece6a167993827987210f67e (patch)
tree245b792b70ace2e55a39dd304f72349266c2a77b /cpp/test/uwp/controller/ViewController.xaml.h
parentAdded instructions for make clean (diff)
downloadice-39f3974e52572f33ece6a167993827987210f67e.tar.bz2
ice-39f3974e52572f33ece6a167993827987210f67e.tar.xz
ice-39f3974e52572f33ece6a167993827987210f67e.zip
Fixed UWP connection memory leak (ICE-8686)
Diffstat (limited to 'cpp/test/uwp/controller/ViewController.xaml.h')
-rw-r--r--cpp/test/uwp/controller/ViewController.xaml.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/test/uwp/controller/ViewController.xaml.h b/cpp/test/uwp/controller/ViewController.xaml.h
index 30f8b26d140..a5d22575866 100644
--- a/cpp/test/uwp/controller/ViewController.xaml.h
+++ b/cpp/test/uwp/controller/ViewController.xaml.h
@@ -33,20 +33,18 @@ public:
ViewController();
virtual ~ViewController();
-protected:
-
- virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
private:
friend class MainHelperI;
friend class ProcessControllerI;
friend class ControllerHelper;
HINSTANCE loadDll(const std::string&);
+ void unloadDll(const std::string&);
void println(const std::string&);
std::string getHost() const;
void Hostname_SelectionChanged(Platform::Object^ sender, Windows::UI::Xaml::Controls::SelectionChangedEventArgs^ e);
- std::map<std::string, HINSTANCE> _dlls;
+ std::map<std::string, std::pair<HINSTANCE, unsigned int>> _dlls;
};
}