Skip to content

Commit

Permalink
Fix Stats retrieved from Ackuaria when connection is closed (lynckia#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcague authored Oct 22, 2019
1 parent 1c104f4 commit 6fc9625
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erizo_controller/erizoJS/models/Connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ class Connection extends events.EventEmitter {

getStats(callback) {
if (!this.wrtc) {
callback('{}');
return true;
}
return this.wrtc.getStats(callback);
Expand Down

0 comments on commit 6fc9625

Please sign in to comment.