Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Nov 1, 2024
1 parent 25f4aa1 commit be0da36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/public/chrome/chrome_service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class ChromeService {
of(true),
application.currentAppId$.pipe(
/**
* There is a staled closure issue here.
* Using flatMap here will introduce staled closure issue.
* For example, when currentAppId$ is going through A -> B -> C and
* the application.applications$ just get changed in B, then it will always use B as the currentAppId
* even though the latest appId now is C.
Expand Down

0 comments on commit be0da36

Please sign in to comment.