Hello,
I start a native application with runtime.connectNative , send and receive message without error.
After a while, i can still send messages to my native application, but no longer receives any. The port still seems active; I don't get any errors.The port.onDisconnect.addListener trigger is never activated.
port.onMessage.hasListeners() return true.
If I force a reconnection to my native application (runtime.connectNative), everything works again with the same message (send and receive).
Have you ever had this problem? If not, how can I know when to reconnect to my native application?
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/016efe87-fdca-4bd1-9dd2-e4469937a53bn%40chromium.org.