Skip to content

gsw_service doesn't clean up SHM writers #55

@K3das

Description

@K3das

When gsw_service receives an interrupt, it cancels the parent context, and immediately exits, as the process waits on the main thread. This doesn't give children a chance to execute deferred functions, resulting in SHM not being cleaned up.

This could be fixed by implementing a WaitGroup in gsw_service.go and having the main thread wait on each thread to exit before exiting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions