mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
examples: reduce the memory usage of the clock example, without -autofree & -gc boehm
This commit is contained in:
parent
c8cb1bf6b4
commit
9cb378bb6b
2 changed files with 5 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue