Explorar el Código

closing page to avoid socket warnings on shutdown

Rodja Trappe hace 2 años
padre
commit
2beeb2894b
Se han modificado 1 ficheros con 1 adiciones y 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()