Skip to content

Commit

Permalink
BaseFloatingPicker - Release references held by Async (#33685)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinTCoughlin authored Jan 21, 2025
1 parent e706ac0 commit 012298d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Async dispose to release references",
"packageName": "@fluentui/react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export class BaseFloatingPicker<T extends {}, P extends IBaseFloatingPickerProps

public componentWillUnmount(): void {
this._unbindFromInputElement();
this._async.dispose();
this.isComponentMounted = false;
}

Expand Down

0 comments on commit 012298d

Please sign in to comment.