Fixed build

This commit is contained in:
Christian Basler 2017-07-16 21:25:12 +02:00
parent 3e286c08b4
commit fd08fa3883
1 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@ class NetworkHandlerTest {
private val peerAddress = NetworkAddress.Builder().ipv4(127, 0, 0, 1).port(6001).build()
private fun shutdown(ctx: BitmessageContext) {
if (!ctx.isRunning) return
if (!ctx.isRunning()) return
ctx.shutdown()
do {
@ -242,7 +242,7 @@ class NetworkHandlerTest {
} catch (ignore: InterruptedException) {
}
} while (ctx.isRunning)
} while (ctx.isRunning())
}
private fun shutdown(networkHandler: NetworkHandler) {