kopia lustrzana https://github.com/cirospaciari/socketify.py
fix App destroy without listen
rodzic
10c43dd89c
commit
f6b6a6e6ab
|
@ -2298,7 +2298,8 @@ class App:
|
|||
pass
|
||||
|
||||
def __del__(self):
|
||||
lib.uws_app_destroy(self.SSL, self.app)
|
||||
if self.app: #only destroy if exists
|
||||
lib.uws_app_destroy(self.SSL, self.app)
|
||||
|
||||
|
||||
class AppListenOptions:
|
||||
|
|
Ładowanie…
Reference in New Issue