Fix broadcast deletion race condition

pull/1/head
yflory 4 years ago
parent a03e2546e5
commit 807642151a

@ -995,12 +995,14 @@ define([
return UI.warn(Messages.error); return UI.warn(Messages.error);
} }
// Clear the UI
reset();
onRefreshBroadcast.fire();
// Only print success if there is no callback // Only print success if there is no callback
if (!_cb) { UI.log(Messages.saved); } if (!_cb) {
UI.log(Messages.saved);
// Clear the UI
reset();
onRefreshBroadcast.fire();
}
}); });
}; };

Loading…
Cancel
Save