Memory profiling code. Updates to reduce memory footprint.
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@ func eventloop() {
|
||||
case app.DestroyEvent:
|
||||
return
|
||||
case app.UpdateEvent:
|
||||
ctx.Reset(e)
|
||||
ctx.Reset(&e)
|
||||
|
||||
mth.SetText(fmt.Sprintf("%s %d", sm.Month.String(), sm.Year))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user