peerdart icon indicating copy to clipboard operation
peerdart copied to clipboard

Error when a peer disconnects

Open dotygame opened this issue 1 year ago • 4 comments

When a peer disconnects an error is thrown bad state cannot fire event after calling close is there any fix or solution for this problem.

dotygame avatar Oct 20 '23 11:10 dotygame

@huynhtuanhuy Is there a way to solve this problem?

dotygame avatar Oct 28 '23 12:10 dotygame

@bk2kgit you can check my change here: https://github.com/huynhtuanhuy/peerdart/commit/01955ae8d87c65980af4dbd337bebfc96f8e307b#diff-51213e1add91af669a8f339e40360976b060dc01b85e9fdf27e54d426bd62359

Its working for me.

huynhtuanhuy avatar Oct 28 '23 13:10 huynhtuanhuy

@bk2kgit you can check my change here: https://github.com/huynhtuanhuy/peerdart/commit/01955ae8d87c65980af4dbd337bebfc96f8e307b#diff-51213e1add91af669a8f339e40360976b060dc01b85e9fdf27e54d426bd62359

Its working for me.

Does this work for both media and dataconnection @huynhtuanhuy

dotygame avatar Oct 28 '23 13:10 dotygame

Any update on this issue? I am using this only for dataconnection. And getting similar error.

sharkeromi avatar Jul 07 '24 10:07 sharkeromi