Commit a19f6e69 authored by dt's avatar dt
Browse files

Fix memory leaking a context per output window

parent 83016e47
......@@ -391,6 +391,7 @@ OutputWindow::OutputWindow(QWidget *parent)
OutputWindow::~OutputWindow()
{
Core::ICore::instance()->removeContextObject(m_outputWindowContext);
delete m_outputWindowContext;
}
void OutputWindow::showEvent(QShowEvent *e)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment