-
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 crash in TestSecurePairingSession (#3357)
TestSecurePairingDelegate must live as long as its SecurePairingSession, since the latter holds a pointer to the former. Move SecurePairingSession onto the heap and move TestSecurePairingDelegate to the main test function so its lifetime can be ended after deleting SecurePairingSession. fixes #3348
- Loading branch information
Showing
1 changed file
with
45 additions
and
17 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