qile222
qile222
* **Version**: v0.11.0 * **Platform**: all * **Subsystem**: all ```js var WebSocketClient = require('websocket').client; var client = new WebSocketClient(); client.on('connectFailed', function(error) { console.log('Connect Error: ' + error.toString()); }); client.on('connect', function(connection)...
`tools/profiler/flamegraph.pl col.txt > prof.html` print `Ignored 1 lines with invalid format` [col.txt](https://github.com/Rokid/ShadowNode/files/2206491/col.txt)
since i upgraded sonos to newest version, shadownode's websocket is not compatible with sonos, the websocket always received an 'Close' frame when connecting with sonos and the connection was disconnected...
when we call function iotjs_jval_as_string, the function always calloc a new memory, is it really necessary to calloc every time? should we just return the data block of jerry_valuet_t instead...