dba33g: assertion when closing stream, only close either the input stream or output stream
This commit is contained in:
@@ -68,8 +68,8 @@ namespace connectivity
|
|||||||
m_xInputStream->closeInput();
|
m_xInputStream->closeInput();
|
||||||
m_xInputStream.clear();
|
m_xInputStream.clear();
|
||||||
}
|
}
|
||||||
/* this is done implicity by the closing of the input stream
|
// this is done implicity by the closing of the input stream
|
||||||
if ( m_xOutputStream.is() )
|
else if ( m_xOutputStream.is() )
|
||||||
{
|
{
|
||||||
m_xOutputStream->closeOutput();
|
m_xOutputStream->closeOutput();
|
||||||
try
|
try
|
||||||
@@ -86,7 +86,6 @@ namespace connectivity
|
|||||||
}
|
}
|
||||||
m_xOutputStream.clear();
|
m_xOutputStream.clear();
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
catch(Exception& ex)
|
catch(Exception& ex)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user