Er oh the crash was because I was still using the lock-friendly code. Will still apply the change to memory allocation because memory reuse.
This commit is contained in:
parent
19227080da
commit
c180703373
|
@ -249,7 +249,8 @@ mainloop:
|
|||
for {
|
||||
select {
|
||||
case curtime := <-ticker:
|
||||
l.SetText(curtime.String())
|
||||
// l.SetText(curtime.String())
|
||||
_=curtime
|
||||
case <-w.Closing:
|
||||
break mainloop
|
||||
case <-b.Clicked:
|
||||
|
|
Loading…
Reference in New Issue