'stop' is used to put apps in pause, and 'cont' to unpause them.
to exit an app, 'terminate' has been choosen
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
- AppCall.get ("afm-main", "stop", {id: scope.runID}, function(response) {
+ AppCall.get ("afm-main", "terminate", {runid: scope.runID}, function(response) {
if (response.status !== 200 || response.data.jtype !== "AJB_reply") {
notifyError ("stop", response);
return;
if (response.status !== 200 || response.data.jtype !== "AJB_reply") {
notifyError ("stop", response);
return;