mirror of https://github.com/sbt/sbt.git
Store bootServerSocket in state
This commit is contained in:
parent
749b9caa11
commit
eadf1117f6
|
|
@ -131,9 +131,8 @@ private[sbt] object xMain:
|
||||||
)
|
)
|
||||||
.put(BasicKeys.detachStdio, detachStdio)
|
.put(BasicKeys.detachStdio, detachStdio)
|
||||||
val state = bootServerSocket match {
|
val state = bootServerSocket match {
|
||||||
// todo: fix this
|
case Some(l) => state0.put(Keys.bootServerSocket, l)
|
||||||
// case Some(l) => state0.put(Keys.bootServerSocket, l)
|
case _ => state0
|
||||||
case _ => state0
|
|
||||||
}
|
}
|
||||||
try StandardMain.runManaged(state)
|
try StandardMain.runManaged(state)
|
||||||
finally bootServerSocket.foreach(_.close())
|
finally bootServerSocket.foreach(_.close())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue