Repository navigation
CDP 소유자가 떠날 때 비어 있는 리스너를 부르지 않는다 - #782
Merged
Merged
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.
Closes #768
Summary
publishCdp가 알릴 때, 소유자의 세션이 첫 알림에서 구독을 풀고 나면 두 번째 알림은 이미 비어 있는 리스너(this.cdpChanged)를 불러TypeError로 호스트가 죽었습니다.Review
desktop/src/main/browser.ts- CDP 소유자 알림 순서가 바뀌는 자리입니다.Evidence
publishCdp가 던지지 않고 구독이 풀리기 전의replaced알림 하나만 보냄을 확인합니다. 수정을 빼면 같은TypeError로 실패합니다.