connection breaks after a while between native-app and chrome-extension
问题 I am using chrome native messaging api to communicate between my chrome-extension and native-windows-app which is written in c++. The connection establishes finely and data also gets exchanged. But the connection breaks after random number of calls are made from extension to the native-app. I tried running native-app independently and it works fine when run in an infinite loop(no exceptions occur). My native-app generates almost 300KB of data at first call( encode_frame() ) and then