diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-04-12 09:02:59 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-04-12 13:23:38 +1000 |
| commit | ef1fd3acb95a58900d73a194ce8339b5301dfd0b (patch) | |
| tree | aeeb86a5c33a4985943cad6dd7686a49a967f74c /src/client_manager.hh | |
| parent | f732ea4efb13ced7055a7cc82d30c6cff0a558d3 (diff) | |
Prevent conversion to client on suspend from disconnecting other clients
clear the client manager in the to be converted process without
sending exit messages as the forked server will still be there.
Fixes #2847
Diffstat (limited to 'src/client_manager.hh')
| -rw-r--r-- | src/client_manager.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client_manager.hh b/src/client_manager.hh index 104d2124..7d92ed7e 100644 --- a/src/client_manager.hh +++ b/src/client_manager.hh @@ -27,7 +27,7 @@ public: bool empty() const { return m_clients.empty(); } size_t count() const { return m_clients.size(); } - void clear(); + void clear(bool exit); void ensure_no_client_uses_buffer(Buffer& buffer); |
