Skip to content

Commit bdb4dde

Browse files
authored
Merge pull request #87 from jbg/master
Prevent sharing of config between different UA instances
2 parents ac378a7 + 06e31c6 commit bdb4dde

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/src/config.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ class Settings {
5858
var hostport_params = null;
5959
}
6060

61-
var settings = new Settings();
62-
6361
// Configuration checks.
6462
class Checks {
6563
var mandatory = {

lib/src/ua.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class UA extends EventManager {
104104

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

107-
this._configuration = config.settings;
107+
this._configuration = new Settings();
108108
this._dynConfiguration = new DynamicSettings();
109109
this._dialogs = {};
110110

0 commit comments

Comments
 (0)