jamescl604 / MSFSVoiceAttackPlugin

Enables additional control of Microsoft Flight Simulator 2020 from Voice Attack
Microsoft Public License
34 stars 4 forks source link

Plugin freezing when used in a loop #9

Open romandesign opened 3 years ago

romandesign commented 3 years ago

Hi, I think I encountered a bug in the plugin. I'm using it in a loop to trigger some speech at appropriate moments. Below is the VoiceAttack code. If the pause is less than 0.6 seconds this whole action is not firing again, and is handing, blocking other actions from execution. With the pause of 0.7 seconds it still hangs sometimes. Even pressing "stop commands" doesn't help. It's still blocking everything else. I made a timer to break the loops after a timeout, but this doesn't help. Am I doing something wrong, or is there an issue? Any thoughts?

image