Skip to content

QueueFeederThread not Joined when Controller Exists #53

@christianbrugger

Description

@christianbrugger

Currently in many tests there are unjoined threads, after running the tests. Many of them are QueueFeederThread that are part of the multiprocessing.Queue implementation. I suggest we close them somewhere with:

self.scene._controller._channel_in.close()
self.scene._controller._channel_in.join_thread()
self.scene._controller._channel_out.close()
self.scene._controller._channel_out.join_thread()

@hacst what would be the best place to close these threads?

Currently more than 30 unittests fail because of this issue. To enables detection of unjoined thread remove the line: https://github.com/LogikSim/LogikSim/blob/master/src/tests/helpers.py#L164

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions