mirror of https://github.com/Icinga/icinga2.git
Fix crash in StreamLogger::~StreamLogger
This commit is contained in:
parent
aad4b48812
commit
0324cbff7c
|
@ -29,6 +29,10 @@ REGISTER_TYPE(StreamLogger);
|
||||||
|
|
||||||
boost::mutex StreamLogger::m_Mutex;
|
boost::mutex StreamLogger::m_Mutex;
|
||||||
|
|
||||||
|
StreamLogger::StreamLogger(void)
|
||||||
|
: m_Stream(NULL), m_OwnsStream(false)
|
||||||
|
{ }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor for the StreamLogger class.
|
* Constructor for the StreamLogger class.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -38,6 +38,8 @@ class I2_BASE_API StreamLogger : public ObjectImpl<StreamLogger>
|
||||||
public:
|
public:
|
||||||
DECLARE_OBJECT(StreamLogger);
|
DECLARE_OBJECT(StreamLogger);
|
||||||
|
|
||||||
|
StreamLogger(void);
|
||||||
|
|
||||||
virtual void Start(void);
|
virtual void Start(void);
|
||||||
virtual void Stop(void);
|
virtual void Stop(void);
|
||||||
~StreamLogger(void);
|
~StreamLogger(void);
|
||||||
|
|
Loading…
Reference in New Issue