mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-18 19:32:21 -06:00
fix: Fixed problem when disconnecting the instance it removes the instance
This commit is contained in:
@@ -409,7 +409,6 @@ export class WAStartupService {
|
||||
instance: this.instance.name,
|
||||
status: 'removed',
|
||||
});
|
||||
this.eventEmitter.emit('remove.instance', this.instance.name, 'inner');
|
||||
this.client?.ws?.close();
|
||||
this.client.end(new Error('Close connection'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user