fix App destroy without listen

pull/39/head
Ciro 2022-12-04 11:14:54 -03:00
rodzic 10c43dd89c
commit f6b6a6e6ab
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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: