mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -06:00
fix: Fixed problem when disconnecting the instance it removes the instance
This commit is contained in:
parent
c4f39ab85c
commit
870968a7c5
@ -7,6 +7,7 @@
|
|||||||
* Change in the way the api sent and saved the sent messages, now it goes in the messages.upsert event
|
* Change in the way the api sent and saved the sent messages, now it goes in the messages.upsert event
|
||||||
* Fixed cash when sending stickers via url
|
* Fixed cash when sending stickers via url
|
||||||
* Improved how Redis works for instances
|
* Improved how Redis works for instances
|
||||||
|
* Fixed problem when disconnecting the instance it removes the instance
|
||||||
|
|
||||||
# 1.1.2 (2023-06-28 13:43)
|
# 1.1.2 (2023-06-28 13:43)
|
||||||
|
|
||||||
|
@ -409,7 +409,6 @@ export class WAStartupService {
|
|||||||
instance: this.instance.name,
|
instance: this.instance.name,
|
||||||
status: 'removed',
|
status: 'removed',
|
||||||
});
|
});
|
||||||
this.eventEmitter.emit('remove.instance', this.instance.name, 'inner');
|
|
||||||
this.client?.ws?.close();
|
this.client?.ws?.close();
|
||||||
this.client.end(new Error('Close connection'));
|
this.client.end(new Error('Close connection'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user