File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
zio2-zmq/src/main/scala/zio/zmq Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ lazy val zioLoggingVersion = "2.2.4"
33
44lazy val zio1Version = " 1.0.18"
55
6- lazy val jeromqVersion = " 0.6.0 "
6+ lazy val jeromqVersion = " 0.5.4 "
77
88lazy val scala3Version = " 3.4.2"
99lazy val scala213Version = " 2.13.14"
Original file line number Diff line number Diff line change @@ -5,11 +5,13 @@ import zio.{ZIO, ZLayer}
55import org .zeromq .ZMQException
66import zio .Duration
77import zio .durationInt
8+ import zmq .Ctx
9+
810
911class ZContext {
10- private val ctx = new org.zeromq. ZContext ()
12+ private val ctx = new Ctx ()
1113
12- def shutdown () = ctx.close ()
14+ def shutdown () = ctx.terminate ()
1315
1416 private [zmq] def createSocket (socketType : Int ) = ctx.createSocket(socketType)
1517}
You can’t perform that action at this time.
0 commit comments