Don't call QUIT when terminating a task, it crashes. Just clean up the temporary directory and exit.
[INTERPRETER] * BUG: Don't call QUIT when terminating a task, it crashes. Just clean up the temporary directory and exit.
This commit is contained in:
parent
c1c52f05e7
commit
17834b13a6
@ -7,9 +7,9 @@ gblib_LTLIBRARIES = gb.la
|
||||
|
||||
libgbx_a_CFLAGS = -DGAMBAS_PATH="\"$(bindir)\"" $(AM_CFLAGS_OPT)
|
||||
|
||||
gbx3_LDADD = @C_LIB@ @GBX_THREAD_LIB@ libgbx.a @MATH_LIB@ @INTL_LIB@ @CONV_LIB@ @GETTEXT_LIB@ @DL_LIB@ @FFI_LIB@ @RT_LIB@
|
||||
gbx3_LDADD = @C_LIB@ @GBX_THREAD_LIB@ libgbx.a @MATH_LIB@ @INTL_LIB@ @CONV_LIB@ @GETTEXT_LIB@ @DL_LIB@ @FFI_LIB@ @RT_LIB@
|
||||
gbx3_LDFLAGS = @LD_FLAGS@ @GBX_THREAD_LDFLAGS@ @INTL_LDFLAGS@ @CONV_LDFLAGS@ @GETTEXT_LDFLAGS@ @FFI_LDFLAGS@ @RT_LDFLAGS@
|
||||
gbx3_CFLAGS = -DGAMBAS_PATH="\"$(bindir)\"" $(AM_CFLAGS)
|
||||
gbx3_CFLAGS = -DGAMBAS_PATH="\"$(bindir)\"" $(AM_CFLAGS) -flto
|
||||
|
||||
gb_la_LIBADD = @C_LIB@ @GBX_THREAD_LIB@ @MATH_LIB@ @INTL_LIB@ @CONV_LIB@ @GETTEXT_LIB@ @DL_LIB@ @FFI_LIB@ @RT_LIB@
|
||||
gb_la_LDFLAGS = -module @LD_FLAGS@ @INTL_LDFLAGS@ @CONV_LDFLAGS@ @GETTEXT_LDFLAGS@ @FFI_LDFLAGS@ @RT_LDFLAGS@
|
||||
|
@ -472,7 +472,7 @@ int main(int argc, char *argv[])
|
||||
MEMORY_exit();
|
||||
|
||||
fflush(NULL);
|
||||
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -252,8 +252,8 @@ static void prepare_task(CTASK *_object)
|
||||
|
||||
static void exit_child(int ret)
|
||||
{
|
||||
EXEC_quit_value = ret;
|
||||
EXEC_quit();
|
||||
FILE_exit();
|
||||
_exit(ret);
|
||||
}
|
||||
|
||||
static bool start_task(CTASK *_object)
|
||||
|
Loading…
x
Reference in New Issue
Block a user