From 39f3974e52572f33ece6a167993827987210f67e Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Tue, 27 Feb 2018 11:30:32 +0100 Subject: Fixed UWP connection memory leak (ICE-8686) --- cpp/test/uwp/controller/ViewController.xaml.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cpp/test/uwp/controller/ViewController.xaml.h') 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 _dlls; + std::map> _dlls; }; } -- cgit v1.2.3