mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 04:58:57 +00:00
Add thread assertion to proc_set_last_status
This commit is contained in:
parent
437b4397b9
commit
3f172d13b2
1 changed files with 1 additions and 0 deletions
1
proc.cpp
1
proc.cpp
|
@ -205,6 +205,7 @@ void proc_destroy()
|
|||
|
||||
void proc_set_last_status(int s)
|
||||
{
|
||||
ASSERT_IS_MAIN_THREAD();
|
||||
last_status = s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue