natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
* java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0. * java/net/natSocketImpl.cc (close): Likewise. From-SVN: r52312
This commit is contained in:
parent
ad8849afb5
commit
8be46a7d82
3 changed files with 7 additions and 0 deletions
|
@ -428,6 +428,7 @@ java::net::PlainSocketImpl::close()
|
|||
}
|
||||
// Safe place to reset the file pointer.
|
||||
fnum = -1;
|
||||
timeout = 0;
|
||||
}
|
||||
|
||||
// Write a byte to the socket.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue