summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-17 21:02:11 -0400
committerPietro Gagliardi <[email protected]>2014-03-17 21:02:11 -0400
commitc1807033733654db480e782acebdccda9eababc6 (patch)
tree27e4f85c2687b104cf711c36d52a8f36d5290605 /test
parent19227080da161bc96e4cc8ed447059cefbca8a6a (diff)
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.
Diffstat (limited to 'test')
-rw-r--r--test/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/main.go b/test/main.go
index f99ace1..d4a94e3 100644
--- a/test/main.go
+++ b/test/main.go
@@ -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: