Skip to content

Commit 6f84c85

Browse files
committed
Avoid reporting an error if it happens due to process termination (provider shutdown). The logic generally follows the one inside fbsvcmgr.
1 parent 8360972 commit 6f84c85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utilities/fbtracemgr/traceMgrMain.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ void TraceSvcUtil::runService(size_t spbSize, const UCHAR* spb)
231231
sizeof(query), query,
232232
sizeof(results) - 1, results))
233233
{
234+
if (ctrlCHandler.getTerminated())
235+
break;
236+
234237
status_exception::raise(status);
235238
}
236239

0 commit comments

Comments
 (0)