mail-archives/mono-bugs/2009-November/094466.html

104 строки
4.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 551742] UIImagePicker leaks memory when using camera
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20551742%5D%20UIImagePicker%20leaks%20memory%20when%20using%0A%09camera&In-Reply-To=bug-551742-28286%40http.bugzilla.novell.com/">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="094463.html">
<LINK REL="Next" HREF="094510.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 551742] UIImagePicker leaks memory when using camera</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20551742%5D%20UIImagePicker%20leaks%20memory%20when%20using%0A%09camera&In-Reply-To=bug-551742-28286%40http.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 551742] UIImagePicker leaks memory when using camera">bugzilla_noreply at novell.com
</A><BR>
<I>Sun Nov 1 18:05:08 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="094463.html">[Mono-bugs] [Bug 551742] UIImagePicker leaks memory when using camera
</A></li>
<LI>Next message: <A HREF="094510.html">[Mono-bugs] [Bug 551742] UIImagePicker leaks memory when using camera
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#94466">[ date ]</a>
<a href="thread.html#94466">[ thread ]</a>
<a href="subject.html#94466">[ subject ]</a>
<a href="author.html#94466">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=551742">http://bugzilla.novell.com/show_bug.cgi?id=551742</A>
User <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mike.bluestein at gmail.com</A> added comment
<A HREF="http://bugzilla.novell.com/show_bug.cgi?id=551742#c2">http://bugzilla.novell.com/show_bug.cgi?id=551742#c2</A>
Mike Bluestein &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mike.bluestein at gmail.com</A>&gt; changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mike.bluestein at gmail.com</A>
--- Comment #2 from Mike Bluestein &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mike.bluestein at gmail.com</A>&gt; 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: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="094463.html">[Mono-bugs] [Bug 551742] UIImagePicker leaks memory when using camera
</A></li>
<LI>Next message: <A HREF="094510.html">[Mono-bugs] [Bug 551742] UIImagePicker leaks memory when using camera
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#94466">[ date ]</a>
<a href="thread.html#94466">[ thread ]</a>
<a href="subject.html#94466">[ subject ]</a>
<a href="author.html#94466">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>