This commit is contained in:
Anatoly Yakovenko
2018-07-16 22:25:36 -07:00
committed by Greg Fitzgerald
parent eb3e5fd204
commit a016f6e82e
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ impl FullNode {
}
//used for notifying many nodes in parallel to exit
pub fn notify_exit(self) {
pub fn notify_exit(&self) {
self.exit.store(true, Ordering::Relaxed);
}
pub fn close(self) -> Result<()> {