Skip to content

Commit

Permalink
reverting needless exec_async edge case handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuddieat committed Jan 30, 2025
1 parent 0509605 commit 4fb4135
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions code/gsc_exec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@ void gsc_exec_async_checkdone()

stackPushArray();
exec_outputline *output = task->output;
bool hasoutput = false;

while ( output != NULL )
{
Expand All @@ -395,13 +394,6 @@ void gsc_exec_async_checkdone()
stackPushArrayLast();
delete output;
output = next;
hasoutput = true;
}

if ( !hasoutput )
{
stackPushUndefined();
stackPushArrayLast();
}

short ret = Scr_ExecThread(task->callback, task->save + task->hasargument);
Expand Down

0 comments on commit 4fb4135

Please sign in to comment.