MXS-1775 Monitor stopping moved to maxscale::MonitorInstance
This commit is contained in:
@ -219,24 +219,6 @@ bool AuroraMonitor::start(const MXS_CONFIG_PARAMETER *params)
|
||||
return started;
|
||||
}
|
||||
|
||||
/**
|
||||
* Stop a running monitor
|
||||
*
|
||||
* @param arg Handle on thr running monior
|
||||
*/
|
||||
void AuroraMonitor::stop()
|
||||
{
|
||||
ss_dassert(m_thread);
|
||||
|
||||
m_shutdown = true;
|
||||
thread_wait(m_thread);
|
||||
m_thread = 0;
|
||||
m_shutdown = false;
|
||||
|
||||
MXS_FREE(m_script);
|
||||
m_script = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Diagnostic interface
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user