Bugzilla – Attachment 363024 Details for
Bug 605295
Memory leak with DynamicMethod and --debug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
New test case
Main.cs (text/plain), 740 bytes, created by
Lluis Sanchez
on 2010-05-18 18:27:28 UTC
(
hide
)
Description:
New test case
Filename:
MIME Type:
Creator:
Lluis Sanchez
Created:
2010-05-18 18:27:28 UTC
Size:
740 bytes
patch
obsolete
> >using System; >using System.Runtime.InteropServices; >using System.Diagnostics; >using System.Collections; > >namespace DelegateTest >{ > delegate bool Runner (); > > class MainClass > { > public static void Main (string[] args) > { > while (true) { > Proxy proxy = new Proxy (); > proxy.Handler = proxy.Run; > uint id = g_timeout_add (0, proxy.Handler, IntPtr.Zero); > g_source_remove (id); > } > } > > bool Run () > { > return false; > } > > [DllImport("libglib-2.0.so")] > static extern void g_source_remove (uint id); > > [DllImport("libglib-2.0.so")] > static extern uint g_timeout_add (uint id, Runner function, IntPtr data); > } > > class Proxy > { > public Runner Handler; > > public bool Run () > { > return false; > } > } >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 605295
:
361890
|
362494
| 363024 |
363090