Fixed build
This commit is contained in:
parent
3e286c08b4
commit
fd08fa3883
@ -233,7 +233,7 @@ class NetworkHandlerTest {
|
|||||||
private val peerAddress = NetworkAddress.Builder().ipv4(127, 0, 0, 1).port(6001).build()
|
private val peerAddress = NetworkAddress.Builder().ipv4(127, 0, 0, 1).port(6001).build()
|
||||||
|
|
||||||
private fun shutdown(ctx: BitmessageContext) {
|
private fun shutdown(ctx: BitmessageContext) {
|
||||||
if (!ctx.isRunning) return
|
if (!ctx.isRunning()) return
|
||||||
|
|
||||||
ctx.shutdown()
|
ctx.shutdown()
|
||||||
do {
|
do {
|
||||||
@ -242,7 +242,7 @@ class NetworkHandlerTest {
|
|||||||
} catch (ignore: InterruptedException) {
|
} catch (ignore: InterruptedException) {
|
||||||
}
|
}
|
||||||
|
|
||||||
} while (ctx.isRunning)
|
} while (ctx.isRunning())
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun shutdown(networkHandler: NetworkHandler) {
|
private fun shutdown(networkHandler: NetworkHandler) {
|
||||||
|
Loading…
Reference in New Issue
Block a user