roboscala / sbt-robovm

An sbt plugin for iOS development in Scala
BSD 2-Clause "Simplified" License
108 stars 16 forks source link

'Launching RoboVM app' does not end task even when the app is closed #58

Open siderakis opened 8 years ago

siderakis commented 8 years ago

I'm seeing this both on the simulator and device. Force quitting the app still doesn't end the sbt task.

sbt launcher version 0.13.7 sbt-robovm version 1.11.0

Darkyenus commented 8 years ago

I am aware of this problem, but I am not sure what causes it, probably something with threads, because it works correctly when launched directly from command line ($ sbt device instead of $ sbt & $ device).

siderakis commented 8 years ago

Running sbt device seems good enough, thanks for the tip.

I previously tried adding """cancelable in Global := true //can quit device task using [ctrl]+[c]""" to my sbt file, which lets the device task run twice within a sbt session, but the second time it would hang on getting a lock.