X-Git-Url: https://git.ucc.asn.au/?p=progcomp2013.git;a=blobdiff_plain;f=qchess%2Fsrc%2Fnetwork.py;h=32a7b503a9720632f2ceee4c836ccec53293ffd5;hp=973160f8e40743390faed13c23bbdb1d7d7a0fd7;hb=64978647120812a13948e2146de81281b38a54d5;hpb=df2c20df9b55fd3ab24c494d745a260662f1da67 diff --git a/qchess/src/network.py b/qchess/src/network.py index 973160f..32a7b50 100644 --- a/qchess/src/network.py +++ b/qchess/src/network.py @@ -165,4 +165,6 @@ class Network(): - + def close(self): + self.src.shutdown() + self.src.close()