Explorar o código

Fix resource leaks in remote.txt tutorial

Jelmer Vernooij hai 2 semanas
pai
achega
219c82620f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      docs/tutorial/remote.txt

+ 3 - 0
docs/tutorial/remote.txt

@@ -89,4 +89,7 @@ importing the received pack file into the local repository::
 
 Let's shut down the server now that all tests have been run::
 
+   >>> client.close()
    >>> dul_server.shutdown()
+   >>> dul_server.server_close()
+   >>> repo.close()