Return after error condition.

pull/1958/head
Jason Grout 10 years ago
parent 66146cc265
commit c3de744fe9

@ -988,6 +988,7 @@ define([
var callback_ids = this._msg_callbacks_overrides[msg_id];
if (!callback_ids) {
console.error("Popping callback overrides, but none registered", msg_id);
return;
}
return callback_ids.pop();
}

Loading…
Cancel
Save