Browse Source

Fix resource leaks in remote.txt tutorial

Jelmer Vernooij 2 tuần trước cách đây
mục cha
commit
219c82620f
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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()