|
@@ -7084,6 +7084,8 @@ void __thr_being_msg(struct thr_info *thr, const char *being)
|
|
|
void mt_disable_start(struct thr_info *mythr)
|
|
void mt_disable_start(struct thr_info *mythr)
|
|
|
{
|
|
{
|
|
|
hashmeter2(mythr);
|
|
hashmeter2(mythr);
|
|
|
|
|
+ if (mythr->prev_work)
|
|
|
|
|
+ free_work(mythr->prev_work);
|
|
|
mythr->prev_work = mythr->work;
|
|
mythr->prev_work = mythr->work;
|
|
|
mythr->work = NULL;
|
|
mythr->work = NULL;
|
|
|
mythr->_job_transition_in_progress = false;
|
|
mythr->_job_transition_in_progress = false;
|