FFI: Drop finalizer table rehash after GC cycle.

Reported by Sergey Kaplun. #1247
This commit is contained in:
Mike Pall
2024-08-19 20:00:21 +02:00
parent fb5e1c9f0d
commit fb22d0f80f
2 changed files with 1 additions and 8 deletions

View File

@@ -595,7 +595,7 @@ typedef struct GCState {
GCSize threshold; /* Memory threshold. */
uint8_t currentwhite; /* Current white color. */
uint8_t state; /* GC state. */
uint8_t nocdatafin; /* No cdata finalizer called. */
uint8_t unused0;
#if LJ_64
uint8_t lightudnum; /* Number of lightuserdata segments - 1. */
#else