making an electron app and using modbus serial package,
connected the modubus client and readed holding register succesfully and
when i am trying to redirect to onether page using javascripts window.onbeforeunload
function and closing client connection from inside this function ,
but the problem is this will crashing my electron app but the logs of
rediraction will be printed succesfully when the client disconnect
making an electron app and using modbus serial package,
connected the modubus client and readed holding register succesfully and when i am trying to redirect to onether page using javascripts window.onbeforeunload function and closing client connection from inside this function ,
but the problem is this will crashing my electron app but the logs of rediraction will be printed succesfully when the client disconnect