zenalex

markAsDirty must use permenent property

@@ -239,7 +239,7 @@ class GetInstance { @@ -239,7 +239,7 @@ class GetInstance {
239 final newKey = key ?? _getKey(S, tag); 239 final newKey = key ?? _getKey(S, tag);
240 if (_singl.containsKey(newKey)) { 240 if (_singl.containsKey(newKey)) {
241 final dep = _singl[newKey]; 241 final dep = _singl[newKey];
242 - if (dep != null) { 242 + if (dep != null && !dep.permanent) {
243 dep.isDirty = true; 243 dep.isDirty = true;
244 } 244 }
245 } 245 }