Commit b8950859 authored by SND\kernelnet_cp's avatar SND\kernelnet_cp
Browse files

[pykd] fixed: removed Py_Finalize: it is not properly supported by boost::python


git-svn-id: https://pykd.svn.codeplex.com/svn@70172 9b283d60-5439-405e-af05-b73fd8c4d996
parent df5da9c5
......@@ -677,23 +677,12 @@ private:
main_namespace[ key ] = pykd_namespace[ key ];
}
////
//boost::python::object sys = boost::python::import( "sys");
//
//dbgOut dout;
//sys.attr("stdout") = boost::python::object( dout );
//dbgIn din;
//sys.attr("stdin") = boost::python::object( din );
//
g_dbgClient.startEventsMgr();
}
}
~WindbgGlobalSession() {
g_dbgClient.removeEventsMgr();
Py_Finalize();
g_dbgClient.removeEventsMgr();
}
boost::python::object main;
......@@ -702,7 +691,6 @@ private:
static WindbgGlobalSession *windbgGlobalSession;
PyThreadState *initThreadState;
};
volatile LONG WindbgGlobalSession::sessionCount = 0;
......
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