Skip to content

Commit

Permalink
Bug 1518744 - Deregister owner in DeviceInfoIos destructor; r=jib
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D16047

--HG--
extra : rebase_source : 74e471e06afdccef080edbc4e3b7a887469c49bb
extra : amend_source : 1aaa93fdfa720c0b9788835d6eaec8242c43c763
  • Loading branch information
dminor committed Jan 9, 2019
1 parent d1481c6 commit 532d683
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
this->Init();
}

DeviceInfoIos::~DeviceInfoIos() {}
DeviceInfoIos::~DeviceInfoIos() {
[_captureInfo registerOwner:nil];
}

int32_t DeviceInfoIos::Init() {
_captureInfo = [[DeviceInfoIosObjC alloc] init];
Expand Down

0 comments on commit 532d683

Please sign in to comment.