waveform80 / pistreaming

A little demo of streaming the Pi's camera to web browsers
BSD 3-Clause "New" or "Revised" License
764 stars 205 forks source link

Script does not fully close on CTRL-C #58

Open rshom opened 3 years ago

rshom commented 3 years ago

The script as it is now does not fully close. A thread named WebSocketManager is still running. I found that adding the command websocket_server.server_close() before websocket_server.shutdown() solves this issue.