java client 1.23: StorageServer在何处关闭的问题
Closed this issue · 1 comments
GoogleCodeExporter commented
do_upload_file等方法中,对于从外部传入的StorageServer也在用完��
�后关闭。我的问题是,按照谁调用谁释放的原则,不是应该�
��调用者就主动调用StorageServer.close()方法关闭么?
代码:
this.storageServer.close();//这句不是应该留给调用者关闭么?不知
您放在这里关闭,是不是有什么考虑?
if (bNewConnection) {
this.storageServer = null;
}
Original issue reported on code.google.com by htd0...@gmail.com
on 30 Nov 2012 at 6:25
GoogleCodeExporter commented
恩,这个的确是问题。v1.24中已经修复。
Original comment by happyfis...@gmail.com
on 1 Dec 2012 at 5:56
- Changed state: Fixed