shaqian/flutter_ssh

Crashed after uploading the file on iOS

Moussabaddour opened this issue · 1 comments

The App crashed after finishing uploading the file on iOS and got this error:

  • thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x7000000000000060)
    frame #0: 0x0000000102d3e21c NMSSHsftp_shutdown + 24 NMSSHsftp_shutdown:
    -> 0x102d3e21c <+24>: ldr x0, [x0, #0x60]
    0x102d3e220 <+28>: str x0, [sp, #0x8]
    0x102d3e224 <+32>: ldur x0, [x29, #-0x8]
    0x102d3e228 <+36>: ldr x0, [x0, #0x50]
    Target 0: (Runner) stopped.
    Lost connection to device.

Any help!!!

I fixed the bug just by comment
//client.disconnect();