Showing
4 changed files
with
9 additions
and
4 deletions
@@ -73,7 +73,7 @@ packages: | @@ -73,7 +73,7 @@ packages: | ||
73 | path: ".." | 73 | path: ".." |
74 | relative: true | 74 | relative: true |
75 | source: path | 75 | source: path |
76 | - version: "3.6.0" | 76 | + version: "3.6.3" |
77 | http_parser: | 77 | http_parser: |
78 | dependency: transitive | 78 | dependency: transitive |
79 | description: | 79 | description: |
@@ -175,8 +175,10 @@ class GetInstance { | @@ -175,8 +175,10 @@ class GetInstance { | ||
175 | final key = _getKey(S, tag); | 175 | final key = _getKey(S, tag); |
176 | final i = _singl[key].getDependency(); | 176 | final i = _singl[key].getDependency(); |
177 | if (i is DisposableInterface) { | 177 | if (i is DisposableInterface) { |
178 | - i.onStart(); | ||
179 | - GetConfig.log('"$key" has been initialized'); | 178 | + if (i.onStart != null) { |
179 | + i.onStart(); | ||
180 | + GetConfig.log('"$key" has been initialized'); | ||
181 | + } | ||
180 | } | 182 | } |
181 | } | 183 | } |
182 | 184 |
1 | name: get | 1 | name: get |
2 | description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX. | 2 | description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX. |
3 | -version: 3.6.2 | 3 | +version: 3.6.3 |
4 | homepage: https://github.com/jonataslaw/get | 4 | homepage: https://github.com/jonataslaw/get |
5 | 5 | ||
6 | environment: | 6 | environment: |
-
Please register or login to post a comment