Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix data race in on_switch_shutdown_request() (#2931)
The data race in on_switch_shutdown_request() is the following: * the on_switch_shutdown_request() calls exit() which calls the destructors for global static variables (e.g.BufferOrch::m_buffer_type_maps) * in parallel to that, orchagent accesses the global static variables A fix is to avoid calling the destructors by using quick_exit() instead of exit()
- Loading branch information