Remove extra try/catch for LocalQueryState reset

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2023-02-18 10:53:47 +01:00
parent bda4c94f66
commit f9cd66db36

View File

@ -33,16 +33,9 @@ LocalConnection::LocalConnection(ContextPtr context_, bool send_progress_, bool
}
LocalConnection::~LocalConnection()
{
try
{
state.reset();
}
catch (...)
{
tryLogCurrentException(__PRETTY_FUNCTION__);
}
}
bool LocalConnection::hasReadPendingData() const
{