提交 079ba3d4 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Node: Don't notify consumerPreferredProfileSet if the Consumer was closed.

上级 9fa46f3e
......@@ -550,7 +550,7 @@ class Consumer extends EnhancedEventEmitter
this._preferredProfile = profile;
// Notify if it has a Peer.
if (this.hasPeer())
if (this.hasPeer() && !this._closed)
{
const data =
{
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论