]> gitweb.factorcode.org Git - factor.git/commitdiff
jamshred: fixed hang bug with a call to yield (I think it's fixed)
authorAlex Chapman <chapman.alex@gmail.com>
Thu, 8 May 2008 14:09:12 +0000 (00:09 +1000)
committerAlex Chapman <chapman.alex@gmail.com>
Thu, 8 May 2008 14:09:12 +0000 (00:09 +1000)
extra/jamshred/jamshred.factor

index 6b305696e5c33d99ecadce3abd24d1df0a19206b..3fb7113fdecda726358bd44667760dece574ffcd 100755 (executable)
@@ -23,7 +23,7 @@ M: jamshred-gadget draw-gadget* ( gadget -- )
     ] [
         dup [ jamshred>> jamshred-update ]
         [ relayout-1 ] bi
-        10 sleep jamshred-loop
+        yield jamshred-loop
     ] if ;
 
 : fullscreen ( gadget -- )