Fix stack overflow in a race condition inside V@

This commit is contained in:
pancake 2017-05-17 23:48:05 +02:00
parent 66628139d1
commit 6111637a66

View File

@ -52,7 +52,8 @@ static int visual_repeat_thread(RThread *th) {
r_sys_sleep (1);
}
r_cons_break_pop ();
r_th_kill (th, 1);
core->cons->breaked = true;
r_th_wait (th);
return 0;
}