Skip to content

Commit 95fc531

Browse files
committed
Remove a useless member of PythonConsole.
PythonConsole::m_hThread was found not to be used anywhere and was therefore removed. Signed-off-by: Jocelyn Legault <[email protected]>
1 parent f1eb29c commit 95fc531

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

PythonScript/src/PythonConsole.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ PythonConsole::PythonConsole(HWND hNotepad) :
1818
mp_consoleDlg(new ConsoleDialog()),
1919
mp_mainThreadState(NULL),
2020
m_statementRunning(CreateEvent(NULL, FALSE, TRUE, NULL)),
21-
m_hThread(NULL),
2221
m_hNotepad(hNotepad),
2322
m_consumerStarted(false),
2423
m_nppData(new NppData)
@@ -38,7 +37,6 @@ PythonConsole::PythonConsole(const PythonConsole& other) :
3837
m_sys(other.m_sys),
3938
mp_mainThreadState(other.mp_mainThreadState),
4039
m_statementRunning(CreateEvent(NULL, FALSE, TRUE, NULL)),
41-
m_hThread(other.m_hThread),
4240
m_hNotepad(other.m_hNotepad),
4341
m_consumerStarted(other.m_consumerStarted),
4442
m_nppData(other.m_nppData ? new NppData(*other.m_nppData) : NULL)

PythonScript/src/PythonConsole.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ class PythonConsole : public NppPythonScript::PyProducerConsumer<std::string>, p
8080
boost::python::object m_sys;
8181
PyThreadState* mp_mainThreadState;
8282
HANDLE m_statementRunning;
83-
HANDLE m_hThread;
8483
HWND m_hNotepad;
8584
bool m_consumerStarted;
8685

0 commit comments

Comments
 (0)