examples: reduce the memory usage of the clock example, without -autofree & -gc boehm

This commit is contained in:
Delyan Angelov 2021-11-11 17:38:45 +02:00
parent c8cb1bf6b4
commit 9cb378bb6b
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
2 changed files with 5 additions and 2 deletions

View file

@ -237,6 +237,7 @@ fn gg_cleanup_fn(user_data voidptr) {
if g.config.cleanup_fn != voidptr(0) {
g.config.cleanup_fn(g.config.user_data)
}
gfx.shutdown()
}
fn gg_fail_fn(msg &char, user_data voidptr) {