From 984e2f8d7c63f3466982b36d52786b4468a0ab6e Mon Sep 17 00:00:00 2001 From: Martin Pecka Date: Tue, 11 Apr 2023 20:30:33 +0200 Subject: [PATCH] Use the first sister message as a Heartbeat, too --- bondcpp/src/BondSM_sm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bondcpp/src/BondSM_sm.cpp b/bondcpp/src/BondSM_sm.cpp index 9879744d..9cd14bd8 100644 --- a/bondcpp/src/BondSM_sm.cpp +++ b/bondcpp/src/BondSM_sm.cpp @@ -112,6 +112,7 @@ void SM_WaitingForSister::SisterAlive(BondSMContext& context) { ctxt.Connected(); context.setState(SM::Alive); + ctxt.Heartbeat(); } catch (...) {