소스 검색

closing page to avoid socket warnings on shutdown

Rodja Trappe 2 년 전
부모
커밋
2beeb2894b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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()