[longomatch] Force a run in the garbage collector after the stats dialog



commit 9700fa33f99dd305daa495115bd51410f370348d
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Aug 10 12:23:10 2013 +0200

    Force a run in the garbage collector after the stats dialog

 LongoMatch.GUI/Gui/GUIToolkit.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/GUIToolkit.cs b/LongoMatch.GUI/Gui/GUIToolkit.cs
index 197ea8c..aa9a1ed 100644
--- a/LongoMatch.GUI/Gui/GUIToolkit.cs
+++ b/LongoMatch.GUI/Gui/GUIToolkit.cs
@@ -359,6 +359,7 @@ namespace LongoMatch.Gui
                        dialog.TransientFor = mainWindow as Gtk.Window;
                        dialog.Run();
                        dialog.Destroy();
+                       System.GC.Collect();
                }
                
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]