MissingPluginException(No implementation found for flutter_naver_map_overlay) 이슈 수정 건.#360
Open
amebahead wants to merge 1 commit intonote11g:mainfrom
Open
MissingPluginException(No implementation found for flutter_naver_map_overlay) 이슈 수정 건.#360amebahead wants to merge 1 commit intonote11g:mainfrom
amebahead wants to merge 1 commit intonote11g:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
원인 분석
dispose 시 타이밍 이슈로 채널이 먼저 해제된 후에도 스트림 콜백이 실행되고 있습니다.
수정 내용
NChannelWrapper.disposeChannel() — 채널 상태 플래그 관리
disposeChannel() 호출 시 isChannelInitialized = false로 설정
_NOverlaySender._send() / _set() — dispose 후 호출 방어
overlayController.isChannelInitialized 체크 후 해제된 채널은 skip
_NaverMapControllerImpl.dispose() — dispose 순서 변경
스트림을 먼저 닫아 콜백 유입을 차단한 뒤, 마지막에 채널을 해제하도록
연결된 이슈
#359
테스트 환경
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.38.5, on macOS 26.0 25A5351b darwin-arm64, locale
en-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.0)
[✓] Chrome - develop for the web
[✓] Connected device (4 available)
[✓] Network resources
Flutter_naver_map: v1.4.4
Demo
[ISSUED CASE]
issue_row.mov
[EXPECTED CASE]
issue_trim.mov