diff options
author | alexvru <alexvru@ydb.tech> | 2022-07-29 15:47:20 +0300 |
---|---|---|
committer | alexvru <alexvru@ydb.tech> | 2022-07-29 15:47:20 +0300 |
commit | 831210a6f3a348d8059aaa223c39931c51528ecc (patch) | |
tree | 136a48ed53025e45e2e92661b0de9cb8bccff619 | |
parent | ed8f9575e4a53d3eebea8e1bbcd41d022f26bfcb (diff) | |
download | ydb-831210a6f3a348d8059aaa223c39931c51528ecc.tar.gz |
Fix bug
-rw-r--r-- | library/cpp/actors/interconnect/interconnect_handshake.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/cpp/actors/interconnect/interconnect_handshake.cpp b/library/cpp/actors/interconnect/interconnect_handshake.cpp index 899bf36084..a9c6b1dd11 100644 --- a/library/cpp/actors/interconnect/interconnect_handshake.cpp +++ b/library/cpp/actors/interconnect/interconnect_handshake.cpp @@ -191,7 +191,9 @@ namespace NActors { SendToProxy(MakeHolder<TEvHandshakeDone>(std::move(Socket), PeerVirtualId, SelfVirtualId, *NextPacketFromPeer, ProgramInfo->Release(), std::move(Params))); } - } catch(...) { + } catch (const TDtorException&) { + throw; // we can't use actor system when handling this exception + } catch (...) { if (isBrokerActive) { Send(HandshakeBroker, new TEvHandshakeBrokerFree()); } |