diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-07-25 13:19:49 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-07-25 13:19:49 +0200 |
commit | 74b27007f862ffe70d50c5c3993f1511ebfc5f41 (patch) | |
tree | 25b369a21613a8550abfd9854288fec205df12bc /cpp/src/IceGrid/SessionManager.h | |
parent | Swift Makefile fix, build Release config by default and Debug only if OPTIMIZ... (diff) | |
download | ice-74b27007f862ffe70d50c5c3993f1511ebfc5f41.tar.bz2 ice-74b27007f862ffe70d50c5c3993f1511ebfc5f41.tar.xz ice-74b27007f862ffe70d50c5c3993f1511ebfc5f41.zip |
Fixed IceGrid node to not terminate session with master on interrupt, fixes #464
Diffstat (limited to 'cpp/src/IceGrid/SessionManager.h')
-rw-r--r-- | cpp/src/IceGrid/SessionManager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/SessionManager.h b/cpp/src/IceGrid/SessionManager.h index 03717f831c3..5ff2216970d 100644 --- a/cpp/src/IceGrid/SessionManager.h +++ b/cpp/src/IceGrid/SessionManager.h @@ -176,6 +176,13 @@ public: } } + bool + isWaitingForCreate() + { + Lock sync(*this); + return _state != Destroyed && _state != Connected; + } + virtual bool waitForCreate() { |