dispose method
void
dispose()
inherited
Frees all currently tracked slots and clears the slot table.
Called automatically by the owning RaylibTempBase during disposal.
Implementation
void dispose() {
if (slots.isNotEmpty) {
temp.debugFreeInfo('Freeing user-defined ${slots.length} $name slots');
slots.entries.forEach((x) {
temp.debugFreeInfo('[FREE] ${x.key}');
freeFunc(pointerToSource(x.value.$1));
});
slots.clear();
}
}