You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The loop executes once, but then gets stuck. Even if I click the button.
Expected behavior
The label should continue to be updated every second, even with a MQTT client present.
Desktop (please complete the following information):
OS: Windows
NodeGUI version: 0.62.0
OS Version: Windows 11
Additional Context
I've tried various other ways of pausing execution, including not using Promises or setTimeout, but this usually ends up freezing the QWindow altogether, resulting in a white, empty window.
The text was updated successfully, but these errors were encountered:
jeffcrouse
changed the title
Incompatible with mqtt.js
mqtt.js client causes event loop to stop
Oct 23, 2023
Do you know if mqtt.js works ok in a pure nodejs context? Do timers etc fire correctly when using mqtt.js from node? Can we be sure that mqtt.js is actually returning to the event loop and not spinning some how?
@sedwards2009 I have used mqtt.js in nodejs for weeks now on my current project with no unexpected results. If there are particular tests that would give you more specific information, I'd be happy to do them.
Describe the bug
As soon as I connect to an MQTT broker, the event loop stops running and/or becomes very unpredictable.
To Reproduce
Steps to reproduce the behavior:
npm install @nodegui/nodegui@latest --save
npm start
button.addEventListener('clicked',(checked)=>console.log("clicked"));
Expected behavior
The label should continue to be updated every second, even with a MQTT client present.
Desktop (please complete the following information):
Additional Context
I've tried various other ways of pausing execution, including not using Promises or setTimeout, but this usually ends up freezing the QWindow altogether, resulting in a white, empty window.
The text was updated successfully, but these errors were encountered: