File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 22* /target /
33project /project
44examples /* /target
5- lowered.hnir
5+ lowered.hnir
6+ .metals
7+ .bloop
Original file line number Diff line number Diff line change @@ -41,7 +41,12 @@ object EventLoop extends ExecutionContextExecutor {
4141
4242 private val dispatcher = initDispatcher(loop)
4343
44- private val bootstrapFuture = Future (run())(scalanative.runtime.ExecutionContext .global)
44+ // Schedule loop execution after main ends
45+ scalanative.runtime.ExecutionContext .global.execute(
46+ new Runnable {
47+ def run (): Unit = EventLoop .run()
48+ }
49+ )
4550
4651 def execute (runnable : Runnable ): Unit = {
4752 taskQueue += runnable
Original file line number Diff line number Diff line change 1- sbt.version =0.13.15
1+ sbt.version =1.3.4
Original file line number Diff line number Diff line change 11addSbtPlugin(" org.scala-native" % " sbt-scala-native" % " 0.4.0-M2" )
2- addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1 .0.1 " )
3- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 1 .1" )
2+ addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 2 .0.0 " )
3+ addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.8 .1" )
You can’t perform that action at this time.
0 commit comments