This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SWT new Threads don't terminated upon disposal?

 
Ivan Jouikov
Ranch Hand
Posts: 269
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically, I have the following piece of code where I create a thread that updates the cursor location in a label every 25 ms. The problem is, the thread doesn't seem to terminate upon exit (since the process stays alive in eclipse). If I launch the thread as daemon, everything is fine, but why won't this work?

 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic