From 0d372365e153d35028c144613de6a9174625a5c0 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 17 Nov 2020 15:02:24 +0100 Subject: [PATCH] Fix left open DebugSession in Katana::NegociateWindow::createTrackSegment(). --- katana/src/NegociateWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/katana/src/NegociateWindow.cpp b/katana/src/NegociateWindow.cpp index 0626ed1a..2ec64475 100644 --- a/katana/src/NegociateWindow.cpp +++ b/katana/src/NegociateWindow.cpp @@ -358,6 +358,7 @@ namespace Katana { , getString(autoSegment).c_str() , getString(blockageSpan).c_str() ) << endl; cdebug_tabw(159,-1); + DebugSession::close(); return NULL; } } @@ -378,6 +379,7 @@ namespace Katana { _segments.push_back( trackSegment ); cdebug_log(159,0) << "Non-preferred direction, do not attempt to set on track." << endl; cdebug_tabw(159,-1); + DebugSession::close(); return trackSegment; }