Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

[ashell] Hangs too easily when uploading the JS code multiple times #745

@poussa

Description

@poussa

When you upload the (same or different) JS application multiple times, the ashell hangs quite easily. First run is always golden, but then 2-5 run very often hangs it.

For example, the following app works always first time but hang on 2 or 3 time of running.

var pins = require("arduino101_pins");
var gpio = require("gpio");

var button = gpio.open({ pin: pins.IO2, direction: 'in', edge: 'rising' });

button.onchange = function(event) {
    console.log("event: " + event.value);
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions