Skip to content

Getting an exeption when shutting down in threaded mode #104

@RoccoMarco

Description

@RoccoMarco

Hi,
I am getting an exception when I call shutdown_gracefully()

ERROR:websocket_server.websocket_server:********************************************************************************
Exception in child thread <WebsocketServerThread(Thread-162 (serve_forever), started daemon 25036)>: [WinError 10038] An operation was attempted on something that is not a socket


Looks like the issue is that the thread is still running when the websocket is closed and this triggers an operation of the closed socket

Any hint?

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