[Mono-bugs] [Bug 551742] UIImagePicker leaks memory when using camera
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Nov 1 18:05:08 EST 2009
http://bugzilla.novell.com/show_bug.cgi?id=551742
User mike.bluestein at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=551742#c2
Mike Bluestein <mike.bluestein at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mike.bluestein at gmail.com
--- Comment #2 from Mike Bluestein <mike.bluestein at gmail.com> 2009-11-01 16:05:05 MST ---
I tried wrapping the UIImagePickerController in a using (like below) and it
still leaks:
void HandleCameraButtonTouchUpInside (object sender, EventArgs e)
{
cameraButton.TouchUpInside += delegate {
using (imPicker = new UIImagePickerController ()) {
imPicker.Delegate = new PickerDelegate ();
imPicker.SourceType =
UIImagePickerControllerSourceType.Camera;
imPicker.AllowsImageEditing = true;
aViewController.PresentModalViewController (imPicker,
true);
}
};
}
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list