Yusin commited on
Commit
c6ecadd
1 Parent(s): a827b0e

Update pygpt.py

Browse files
Files changed (1) hide show
  1. pygpt.py +1 -0
pygpt.py CHANGED
@@ -24,6 +24,7 @@ class PyGPT:
24
 
25
  async def disconnect(self):
26
  await self.socket.disconnect()
 
27
 
28
  def on_connect(self):
29
  print('Connected to server')
 
24
 
25
  async def disconnect(self):
26
  await self.socket.disconnect()
27
+ await self.socket.close()
28
 
29
  def on_connect(self):
30
  print('Connected to server')