mirror of https://github.com/BOINC/boinc.git
parent
5e26d53f33
commit
8945f94103
|
@ -10300,3 +10300,11 @@ David 10 Aug 2005
|
|||
lib/
|
||||
gui_rpc_client.h
|
||||
gui_rpc_client_ops.C
|
||||
|
||||
David 10 Aug 2005
|
||||
- add close_file(), close_socke() to NET_XFER_SET::remove().
|
||||
May fix socket leak.
|
||||
From Egon Larsson
|
||||
|
||||
client/
|
||||
net_xfer.C
|
||||
|
|
|
@ -215,6 +215,9 @@ int NET_XFER_SET::insert(NET_XFER* nxp) {
|
|||
int NET_XFER_SET::remove(NET_XFER* nxp) {
|
||||
vector<NET_XFER*>::iterator iter;
|
||||
|
||||
nxp->close_file();
|
||||
nxp->close_socket();
|
||||
|
||||
iter = net_xfers.begin();
|
||||
while (iter != net_xfers.end()) {
|
||||
if (*iter == nxp) {
|
||||
|
|
Loading…
Reference in New Issue