Clear session commands in Backend::close
If a reconnection would take place, the old commands would get executed.
This commit is contained in:
@ -53,6 +53,7 @@ void Backend::close(close_type type)
|
|||||||
{
|
{
|
||||||
m_closed = true;
|
m_closed = true;
|
||||||
m_closed_at = time(NULL);
|
m_closed_at = time(NULL);
|
||||||
|
m_session_commands.clear();
|
||||||
|
|
||||||
if (in_use())
|
if (in_use())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user