Skip to content

Commit

Permalink
Merge pull request #87 from jbg/master
Browse files Browse the repository at this point in the history
Prevent sharing of config between different UA instances
  • Loading branch information
cloudwebrtc authored May 23, 2020
2 parents ac378a7 + 06e31c6 commit bdb4dde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib/src/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ class Settings {
var hostport_params = null;
}

var settings = new Settings();

// Configuration checks.
class Checks {
var mandatory = {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/ua.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class UA extends EventManager {

this._cache = {'credentials': {}};

this._configuration = config.settings;
this._configuration = new Settings();
this._dynConfiguration = new DynamicSettings();
this._dialogs = {};

Expand Down

0 comments on commit bdb4dde

Please sign in to comment.