Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
destroy() {
if (this.selector === null)
return;
if (!this.selector.isRemote)
return;
// HACK HACK HACK
// make up an empty environment
var env = new ExecEnvironment(this.engine.platform.locale, this.engine.platform.timezone);
var [principal, uuid] = this.action.input(env);
return this.engine.remote.sendData(principal, uuid, null);
}