Skip to content

Commit c1976b8

Browse files
committed
minor cleanup for consistency with 1.4.7
1 parent eafecb2 commit c1976b8

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

Net/src/HTTPSession.cpp

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,20 @@ HTTPSession::~HTTPSession()
6767
try
6868
{
6969
if (_pBuffer) HTTPBufferAllocator::deallocate(_pBuffer, HTTPBufferAllocator::BUFFER_SIZE);
70-
try
71-
{
72-
close();
73-
}
74-
catch (...)
75-
{
76-
}
77-
delete _pException;
7870
}
7971
catch (...)
8072
{
8173
poco_unexpected();
8274
}
75+
try
76+
{
77+
close();
78+
}
79+
catch (...)
80+
{
81+
poco_unexpected();
82+
}
83+
delete _pException;
8384
}
8485

8586

0 commit comments

Comments
 (0)