Skip to content

Commit 45b931d

Browse files
add okaytogc
1 parent b2edc92 commit 45b931d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ulisp-esp32.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ jmp_buf toplevel_errorbuffer;
221221
jmp_buf *errorbuffer = &toplevel_errorbuffer;
222222
unsigned int Freespace = 0;
223223
object *Freelist;
224+
bool okaytogc = true;
224225
unsigned int I2CCount;
225226
unsigned int TraceFn[TRACEMAX];
226227
unsigned int TraceDepth[TRACEMAX];
@@ -497,6 +498,7 @@ unsigned int GCCount = 0;
497498
#endif
498499

499500
void gc (object *form, object *env) {
501+
if (!okaytogc) return;
500502
#if defined(printgcs)
501503
int start = Freespace;
502504
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy