fix(core): update
This commit is contained in:
parent
11344ac0df
commit
e1d4d6cf38
@ -45,6 +45,10 @@ export class SmartProxy {
|
||||
console.log('successfully spawned portproxy and proxyworkers!');
|
||||
}
|
||||
|
||||
public async updateDefaultHeaders(defaultHeadersArg: {[key: string]: string}) {
|
||||
await this.proxyWorkerFunctions.addDefaultHeaders(defaultHeadersArg);
|
||||
}
|
||||
|
||||
public async stop() {
|
||||
await this.proxyWorkerFunctions.stop();
|
||||
await plugins.smartspawn.Thread.terminate(this.proxyWorkerFunctions);
|
||||
|
Loading…
Reference in New Issue
Block a user