I made this change a month ago. I figure it should probably be submitted on its own.
Commit text:
The grammar recognition and hypothesis callbacks have been silently failing on Windows 10 when Natlink is used in a separate Python process. Holding the GIL during the callbacks and making a minor change in the natConnect() function fixes this problem.
The error may be reproduced out of process using a loaded grammar and the waitForSpeech() function. The Dragon log should have a line or two saying that client process python.exe failed with error RPC_E_SERVERFAULT.
I made this change a month ago. I figure it should probably be submitted on its own.
Commit text:
The error may be reproduced out of process using a loaded grammar and the
waitForSpeech()
function. The Dragon log should have a line or two saying that client process python.exe failed with errorRPC_E_SERVERFAULT
.