1 | Make sure that the member variables are initialized in the ctor. |
---|
2 | |
---|
3 | From: Erik Hovland <erik@hovland.org> |
---|
4 | |
---|
5 | |
---|
6 | --- |
---|
7 | |
---|
8 | mythtv/libs/libmythupnp/threadpool.cpp | 2 ++ |
---|
9 | 1 files changed, 2 insertions(+), 0 deletions(-) |
---|
10 | |
---|
11 | |
---|
12 | diff --git a/mythtv/libs/libmythupnp/threadpool.cpp b/mythtv/libs/libmythupnp/threadpool.cpp |
---|
13 | index 080fe94..7a7a202 100644 |
---|
14 | --- a/mythtv/libs/libmythupnp/threadpool.cpp |
---|
15 | +++ b/mythtv/libs/libmythupnp/threadpool.cpp |
---|
16 | @@ -164,6 +164,8 @@ WorkerThread::WorkerThread( ThreadPool *pThreadPool, const QString &sName ) |
---|
17 | m_pThreadPool = pThreadPool; |
---|
18 | m_sName = sName; |
---|
19 | m_nIdleTimeoutMS = 60000; |
---|
20 | + m_timer = 0; |
---|
21 | + m_wakeup = 0; |
---|
22 | } |
---|
23 | |
---|
24 | ///////////////////////////////////////////////////////////////////////////// |
---|