Skip to content

[linux_serial] Exception at PlatformInterface.close #48

@BaurFilip

Description

@BaurFilip

Any call to SerialPortHandle.close() results in an Exception and the underlying fd stays open.

[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: type 'Null' is not a subtype of type 'Computer' of 'value'
#0      _LinkedHashMapMixin.[]= (dart:_compact_hash:633)
#1      PlatformInterface.close (package:linux_serial/src/linux_serial.dart:417)
#2      SerialPortHandle.close (package:linux_serial/src/linux_serial.dart:821)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions