File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -321,12 +321,12 @@ KJ_TEST("Make simultaneous IPC callbacks with same request_thread and callback_t
321
321
setup.server ->m_impl ->m_fn = [&] {};
322
322
foo->callFnAsync ();
323
323
ThreadContext& tc{g_thread_context};
324
- std::optional< Thread::Client> callback_thread, request_thread;
325
- {
324
+ Thread::Client * callback_thread, * request_thread;
325
+ foo-> m_context . loop -> sync ([&] {
326
326
Lock lock (tc.waiter ->m_mutex );
327
- callback_thread = tc.callback_threads .at (foo->m_context .connection )->m_client ;
328
- request_thread = tc.request_threads .at (foo->m_context .connection )->m_client ;
329
- }
327
+ callback_thread = & tc.callback_threads .at (foo->m_context .connection )->m_client ;
328
+ request_thread = & tc.request_threads .at (foo->m_context .connection )->m_client ;
329
+ });
330
330
331
331
setup.server ->m_impl ->m_fn = [&] {
332
332
try
You can’t perform that action at this time.
0 commit comments