Browse Source

closing page to avoid socket warnings on shutdown

Rodja Trappe 2 years ago
parent
commit
2beeb2894b
1 changed files with 1 additions and 0 deletions
  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()