Skip to content

Commit

Permalink
add log for devel segv
Browse files Browse the repository at this point in the history
  • Loading branch information
lchenut committed Jul 9, 2024
1 parent 7e4804d commit 3fbfb84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webrtc/dtls/dtls_connection.nim
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ proc dtlsHandshake*(
let (data, _) = await self.conn.read()
self.dataRecv = data
self.sendFuture = nil
echo "self: ", self.isNil()
if not self.isNil():
echo "self.ctx: ", self.ctx.isNil()
if not self.ctx.isNil():
echo "self.ctx.ssl: ", self.ctx.ssl.isNil()
let res = mb_ssl_handshake_step(self.ctx.ssl)
if not self.sendFuture.isNil():
await self.sendFuture
Expand Down

0 comments on commit 3fbfb84

Please sign in to comment.