You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NavyThread: drain and destruct ScopedEventBaseThread first
Summary:
As discovered in the unit test https://fburl.com/testinfra/87ndzjg8, it seems that the segfault
could occur while destructing the worker thread, i.e., NavyThread of RegionManager if there are some
tasks are outstanding while accessing the mutex which is another member of NavyThread. This change
makes sure the ScopedEventBaseThread is destructed after draining any pending fibers before any
other member variables.
Reviewed By: therealgymmy
Differential Revision: D49707371
fbshipit-source-id: 3fcac297d759b70a061ceaee209bfac70f962b4b
0 commit comments