summaryrefslogtreecommitdiff
path: root/reference/csharp/core/src/core_idler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/core/src/core_idler.cs')
-rw-r--r--reference/csharp/core/src/core_idler.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/reference/csharp/core/src/core_idler.cs b/reference/csharp/core/src/core_idler.cs
index e8853e5..7e27279 100644
--- a/reference/csharp/core/src/core_idler.cs
+++ b/reference/csharp/core/src/core_idler.cs
@@ -34,10 +34,7 @@ public class Example
34 }; 34 };
35 35
36 // Use a timer to exit the application 36 // Use a timer to exit the application
37 var timer = new Efl.LoopTimer(mainloop, (Efl.LoopTimer etimer) => { 37 var timer = new Efl.LoopTimer(mainloop, 0.01);
38 // Trigger after 10ms
39 etimer.SetInterval(0.01);
40 });
41 timer.TickEvt += (object sender, EventArgs e) => { 38 timer.TickEvt += (object sender, EventArgs e) => {
42 Console.WriteLine("TIMER: timer callback called, exiting."); 39 Console.WriteLine("TIMER: timer callback called, exiting.");
43 mainloop.Quit(new Eina.Value(0)); 40 mainloop.Quit(new Eina.Value(0));