-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix door lock endpoint initialization. (#34270)
* Fix door lock endpoint initialization. A few issues here: * DoorLockServer::InitServer was resetting endpoint state for all endpoints when initializing any endpoint. * We had two separate arrays of per-endpoint data, one for the endpoint context, one for the delegate. The fix is to not touch the state of other endpoints when initializing an endpoint and to put all the per-endpoint state in one place. * Apply suggestions from code review Co-authored-by: Nivi Sarkar <[email protected]> --------- Co-authored-by: Nivi Sarkar <[email protected]>
- Loading branch information
Showing
2 changed files
with
93 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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