diff --git a/cpp/src/wrapper.cpp b/cpp/src/wrapper.cpp index 7fd58c7..e2f3f5a 100644 --- a/cpp/src/wrapper.cpp +++ b/cpp/src/wrapper.cpp @@ -382,6 +382,8 @@ void Py3kFinalize() { pTick = nullptr; pKeyEvent = nullptr; pThreadState = nullptr; + } else { + log_debug("Not initialised"); } } @@ -425,6 +427,7 @@ void Py3kWrapperStart() { Py3kReinitialize(); // Main loop + log_debug("Entering main loop"); while (true) { switch (action) { case STOP: @@ -447,6 +450,7 @@ void Py3kWrapperStart() { // Yield scriptWait(0); } + log_error("Exited main loop"); } void Py3kWrapperStop() { diff --git a/cpp/src/wrapper.h b/cpp/src/wrapper.h index 5c37e9d..002fee8 100644 --- a/cpp/src/wrapper.h +++ b/cpp/src/wrapper.h @@ -12,7 +12,7 @@ #include #include -#define PY3KWRAPPER_VERSION "0.9.7" +#define PY3KWRAPPER_VERSION "0.9.8" enum Py3kAction : int { NONE,