summaryrefslogtreecommitdiff
path: root/cpp/test/ios/controller/Bundle/ControllerI.mm
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-12-18 17:07:04 +0100
committerBenoit Foucher <benoit@zeroc.com>2018-12-18 17:07:28 +0100
commit5a91449a0ea1ebd31e6db5fbf5224829648e5850 (patch)
tree07873e80a880398afb77577a849a4bee2ffa23d6 /cpp/test/ios/controller/Bundle/ControllerI.mm
parentFixes related to C# strong name signatures (diff)
downloadice-5a91449a0ea1ebd31e6db5fbf5224829648e5850.tar.bz2
ice-5a91449a0ea1ebd31e6db5fbf5224829648e5850.tar.xz
ice-5a91449a0ea1ebd31e6db5fbf5224829648e5850.zip
Fixed iOS C++ controller leak
Diffstat (limited to 'cpp/test/ios/controller/Bundle/ControllerI.mm')
-rw-r--r--cpp/test/ios/controller/Bundle/ControllerI.mm14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/test/ios/controller/Bundle/ControllerI.mm b/cpp/test/ios/controller/Bundle/ControllerI.mm
index 803d1cede18..af882b2d523 100644
--- a/cpp/test/ios/controller/Bundle/ControllerI.mm
+++ b/cpp/test/ios/controller/Bundle/ControllerI.mm
@@ -118,12 +118,12 @@ namespace
}
ControllerHelperI::ControllerHelperI(id<ControllerView> controller, const string& dll, const StringSeq& args) :
-_controller(controller),
-_dll(dll),
-_args(args),
-_ready(false),
-_completed(false),
-_status(0)
+ _controller(controller),
+ _dll(dll),
+ _args(args),
+ _ready(false),
+ _completed(false),
+ _status(0)
{
}
@@ -131,7 +131,7 @@ ControllerHelperI::~ControllerHelperI()
{
if(_helper)
{
- _helper.release();
+ _helper.reset();
}
if(_handle)