1
0
Fork 0
mirror of https://github.com/0x5eal/rbxts-pako.git synced 2025-04-08 04:40:59 +01:00

Permit a deflateParams() parameter change as soon as possible.

f9694097dd
This commit is contained in:
Alex Kocharin 2022-06-10 16:58:28 +03:00
parent 25a8b18c5d
commit 2326b42e45

View file

@ -1419,7 +1419,7 @@ const deflateResetKeep = (strm) => {
0 // crc32(0, Z_NULL, 0)
:
1; // adler32(0, Z_NULL, 0)
s.last_flush = Z_NO_FLUSH;
s.last_flush = -2;
_tr_init(s);
return Z_OK;
};