diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-03-08 15:29:14 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-03-12 11:18:26 -0700 |
| commit | 03be42ab847f04a89d207d98fdb28048cfedf72d (patch) | |
| tree | 918df321648fc6715eee60ddf926d5dc7ee58bfe /main.c | |
| parent | ef4a74e201e852a32e2e1be73ed9ba85c88fb3f4 (diff) | |
Enter safe mode when an allocation is attempted on an uninitialized heap.
Diffstat (limited to 'main.c')
| -rwxr-xr-x | main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -139,8 +139,7 @@ void stop_mp(void) { MP_STATE_VM(vfs_cur) = vfs; #endif - // Run any finalizers before we stop using the heap. - gc_sweep_all(); + gc_deinit(); } #define STRING_LIST(...) {__VA_ARGS__, ""} |
