fluttercommunity / fluttercommunity/flutter_webview_plugin

onBack stream not closed

オープン 初心者向け
#774 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
1.5k
フォーク
938
PR マージ指標
30日以内にマージされた PR はありません

説明

## System info

Issue occurs on: both
Plugin version: 0.3.11
Flutter doctor output:

```
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.9, on Microsoft Windows [Version 10.0.18363.900], locale en-NZ)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[√] Android Studio (version 4.0)
[√] VS Code, 64-bit edition (version 1.46.0)
[√] Connected device (1 available)

• No issues found!
```

## Steps to Reproduce
1. Navigate to the file base.dart in the plugin lib.
2. scroll down to dispose method.

![image](https://user-images.githubusercontent.com/9078067/85355181-27f3d300-b560-11ea-9241-a3f953aab2a3.png)

as you can see also in the image, the _onBack stream controller is created but never closed in the dispose. Not sure if this was on purpose or not.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

lib/base.dart を開いて dispose メソッドを調べ、そこで作成される _onBack ストリームコントローラーを追跡します。そのコントローラーを dispose 時に閉じるべきか確認し、プラグインが dispose されたときに onBack ストリームが閉じられることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
mobile-dev
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
70/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。