1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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
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) {