Skip to content

closing serial port causes close eventloop and shutdown #172

Open
@dafik

Description

@dafik

I have several gpio listeners
when call serial.close() gpio listeners are closed
INFO com.diozero.internal.provider.builtin.gpio.GpioChip::eventLoop - Event loop finished

probably by this :
raise(SIGINT);
in native utils
https://github.com/mattjlewis/diozero/blob/main/system-utils-native/src/main/c/com_diozero_internal_provider_builtin_serial_NativeSerialDevice.c#L381

having serial port open all time causes 100% cpu utilisation.

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