Destroying vocabulary stops event notification
Last reviewed: 3/15/2021
PRB Article ID: P032102
The information in this article applies to:
- SpeechKit 9
Symptoms
No recognition events are detected once a vocabulary is destroyed.
Cause
Vocabularies can be enabled and disabled as needed by the application. Once a vocabulary is destroyed however, the destructor releases the client reference preventing future event callbacks from firing.
Vocabulary destructors in client objects are updated to eliminate the possible release. Compiling C++, C++Builder, Delphi, Java, and .NET applications with the update libraries eliminates the problem.
Status
Fixed in SpeechKit 9 build 9.0.3.1.
Component Formats Impacted
All.