Commit f787951
authored
[google_maps_flutter_web] Stop listening to map events when disposed (#9250)
Fixes flutter/flutter#168782
## Pre-Review Checklist
- [/] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
- [/] I read the [Tree Hygiene] page, which explains my responsibilities.
- [/] I read and followed the [relevant style guides] and ran [the auto-formatter].
- [/] I signed the [CLA].
- [/] The title of the PR starts with the name of the package surrounded by square brackets, e.g. `[shared_preferences]`
- [/] I [linked to at least one issue that this PR fixes] in the description above.
- [/] I updated `pubspec.yaml` with an appropriate new version according to the [pub versioning philosophy], or I have commented below to indicate which [version change exemption] this PR falls under[^1].
- [/] I updated `CHANGELOG.md` to add a description of the change, [following repository CHANGELOG style], or I have commented below to indicate which [CHANGELOG exemption] this PR falls under[^1].
- [/] I updated/added any relevant documentation (doc comments with `///`).
- [/] I added new tests to check the change I am making, or I have commented below to indicate which [test exemption] this PR falls under[^1].
- [/] All existing and new tests are passing.
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.1 parent af2764c commit f787951
File tree
4 files changed
+90
-17
lines changed- packages/google_maps_flutter/google_maps_flutter_web
- example/integration_test
- lib/src
4 files changed
+90
-17
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
313 | 353 | | |
314 | 354 | | |
315 | 355 | | |
| |||
Lines changed: 45 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
142 | 147 | | |
143 | 148 | | |
144 | 149 | | |
| |||
247 | 252 | | |
248 | 253 | | |
249 | 254 | | |
250 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
251 | 258 | | |
252 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
253 | 262 | | |
254 | | - | |
255 | | - | |
256 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
257 | 268 | | |
258 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
259 | 272 | | |
260 | | - | |
261 | | - | |
262 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
263 | 278 | | |
264 | | - | |
| 279 | + | |
265 | 280 | | |
266 | 281 | | |
267 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
268 | 290 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | 291 | | |
273 | | - | |
| 292 | + | |
274 | 293 | | |
275 | | - | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
276 | 297 | | |
277 | 298 | | |
278 | 299 | | |
| |||
648 | 669 | | |
649 | 670 | | |
650 | 671 | | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
651 | 680 | | |
652 | 681 | | |
653 | 682 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments