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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user