summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/setup/daemon_installer_win.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/host/setup/daemon_installer_win.cc b/remoting/host/setup/daemon_installer_win.cc
index fc61b69..dbb72192 100644
--- a/remoting/host/setup/daemon_installer_win.cc
+++ b/remoting/host/setup/daemon_installer_win.cc
@@ -331,7 +331,9 @@ DaemonInstallerWin::~DaemonInstallerWin() {
}
void DaemonInstallerWin::Done(HRESULT result) {
- done_.Run(result);
+ CompletionCallback done = done_;
+ done_.Reset();
+ done.Run(result);
}
// static