Skip to content

Commit 0035df7

Browse files
authored
[sairedis] Fix thread run flag on close (sonic-net#872)
1 parent f6b9878 commit 0035df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/ServerSai.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ sai_status_t ServerSai::uninitialize(void)
117117
{
118118
SWSS_LOG_NOTICE("end server thread begin");
119119

120-
m_runServerThread = true;
120+
m_runServerThread = false;
121121

122122
m_serverThreadThreadShouldEndEvent.notify();
123123

0 commit comments

Comments
 (0)