Skip to content
Permalink
Browse files

fixed #666 crash on daemon shutdown with thread_pool workers

  • Loading branch information...
tomatolog committed Jan 24, 2019
1 parent 335549e commit 9405fccdeb27f0302a8d9a848981d30080216777
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/searchd.cpp
ARRAY_FOREACH ( iTick, g_dTickPoolThread )
{
if ( !sphThreadCreate ( g_dTickPoolThread.Begin()+iTick, CSphNetLoop::ThdTick,
nullptr, Str_b ().Sprintf ( "TickPool_%d", iTick ).cstr () ) )
nullptr, false, Str_b().Sprintf ( "TickPool_%d", iTick ).cstr () ) )
sphDie ( "failed to create tick pool thread" );
}
}

0 comments on commit 9405fcc

Please sign in to comment.
You can’t perform that action at this time.