Explorar o código

closing page to avoid socket warnings on shutdown

Rodja Trappe %!s(int64=2) %!d(string=hai) anos
pai
achega
2beeb2894b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/user.py

+ 1 - 0
tests/user.py

@@ -24,6 +24,7 @@ class User():
 
     def stop_server(self) -> None:
         '''Stop the webserver.'''
+        self.selenium.close()
         nicegui_globals.server.should_exit = True
         self.thread.join()