ChatGPT-Proxy icon indicating copy to clipboard operation
ChatGPT-Proxy copied to clipboard

feat req: add a quit operation for better quitting

Open JerryWn12 opened this issue 2 years ago • 2 comments

JerryWn12 avatar Feb 12 '23 02:02 JerryWn12

Please describe more detailedly - what does "quit operation" mean? A URL endpoint?

fred913 avatar Feb 12 '23 02:02 fred913

press ctrl+c it should be quit normally but not some error message

INFO:     Shutting down
INFO:     Finished server process [4616]
Exception ignored in: <function Chrome.__del__ at 0x00000286FB53E200>
Traceback (most recent call last):
  File "C:\Users\JerryWn\.virtualenvs\ChatGPT-Proxy-qBbK2YsE\Lib\site-packages\undetected_chromedriver\__init__.py", line 788, in __del__
    self.quit()
  File "C:\Users\JerryWn\.virtualenvs\ChatGPT-Proxy-qBbK2YsE\Lib\site-packages\undetected_chromedriver\__init__.py", line 743, in quit
    time.sleep(0.1)
OSError: [WinError 6] 句柄无效。

JerryWn12 avatar Feb 12 '23 02:02 JerryWn12