Skip to content

fix(walletshield): Unix socket file is not cleaned up after process termination #85

Open

Description

@xendarboh

When the client is configured to use a Unix socket, the walletshield application fails to clean up the socket file, resulting in an error on subsequent executions unless the file is manually removed.

Configuration:

ListenNetwork = "unix"                                                                                                                                                                                                                                           
ListenAddress = "/tmp/client2.sock"

Error:

panic: listen unix /tmp/client2.sock: bind: address already in use

goroutine 1 [running]:
main.main()
        tmp-goreleaser/apps/walletshield/main.go:123 +0x805

This prevents the application from starting again without manual intervention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions