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:
Pietro Gagliardi 2014-03-17 21:02:11 -04:00
parent 19227080da
commit c180703373
1 changed files with 2 additions and 1 deletions

View File

@ -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: