Big VB component (involuntarily) runs in a loop

The bug is random on my computer, more frequent on my colleague’s one.

It’s difficult to extract the relevant part of the definition without keeping everything, but your answers helped me to delemit the bug :

The VB component is launched from a Human UI interface, with a toggle button. With “data recorder” plug-in i just noticed that the component was sending ‘True’ 2 times in a row (so the Word document is generated two times)… Can’t reproduce the infinite loop for now…