stonesense icon indicating copy to clipboard operation
stonesense copied to clipboard

Way to quit/kill stonesense

Open Ramblurr opened this issue 10 years ago • 1 comments

When stonesense locks up (for whatever reason) killing it and closing the window isn't possible.

It would be nice if there was a command line option to kill it e.g., stonesense die

Edit: just looked at the source and saw that stonesense is ran as a thread within the DF process, which isn't ideal for killing and cleaning up after. I suppose refactoring stonesense to run in a separate process would be possible with the RPC api, but quite a large undertaking.

Is killing an allegro thread possible?

  • see: Allegro Thread Documentation(https://mvcdecoder.googlecode.com/svn/trunk/allegro/docs/src/refman/threads.txt)

Ramblurr avatar Nov 25 '14 12:11 Ramblurr

This is indeed a huge undertaking, and something I've been wanting to do for a while, but never did,

RosaryMala avatar Dec 03 '14 11:12 RosaryMala