fix lethal crashing issue when clients exit
This commit is contained in:
parent
a87893355b
commit
6d302c9824
|
@ -4,6 +4,7 @@ from flask import Flask
|
||||||
from flask import send_from_directory
|
from flask import send_from_directory
|
||||||
from flask import redirect
|
from flask import redirect
|
||||||
from flask_sock import Sock
|
from flask_sock import Sock
|
||||||
|
import simple_websocket
|
||||||
|
|
||||||
app = Flask(__name__, instance_relative_config=True)
|
app = Flask(__name__, instance_relative_config=True)
|
||||||
sock = Sock(app)
|
sock = Sock(app)
|
||||||
|
|
Loading…
Reference in New Issue