[Ohrrpgce] SVN: teeemcee/11606 When a Frame or Palette16 leaks, remove it from cache without deleting i

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Tue Feb 11 03:17:28 PST 2020


teeemcee
2020-02-11 03:17:27 -0800 (Tue, 11 Feb 2020)
420
When a Frame or Palette16 leaks, remove it from cache without deleting it

The Frame cache didn't delete Frames with a bad refcount, but it didn't remove
them from the cache either, which would cause other glitches.

The Palette16 cache (btoh before and after the rewrite in previous commit) both
removed and freed leaked palettes, possibly causing crashes.

Note that leaks cause a debug message but don't call showbug.
---
U   wip/allmodex.bas


More information about the Ohrrpgce mailing list