From e0a2c215cf5fc1a755f8b5f0314d9ee7a7e2e0e4 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Wed, 23 Jan 2008 03:21:47 +0000 Subject: [PATCH] Remove the freeze-splash-screen fix... causes segv when modules are not cached git-svn-id: file:///home/svn/framework3/trunk@5331 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/ui/gtk2/frame/modules_tree.rb | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/msf/ui/gtk2/frame/modules_tree.rb b/lib/msf/ui/gtk2/frame/modules_tree.rb index aec02c19f9..6d7bc1b895 100644 --- a/lib/msf/ui/gtk2/frame/modules_tree.rb +++ b/lib/msf/ui/gtk2/frame/modules_tree.rb @@ -225,9 +225,10 @@ module Gtk2 mod_exploits = {} framework.exploits.each_module do |mod, obj| - while (Gtk.events_pending?) - Gtk.main_iteration - end + # SEGV :( + # while (Gtk.events_pending?) + # Gtk.main_iteration + # end parts = mod.split("/") @@ -255,9 +256,10 @@ module Gtk2 mod_auxiliary = {} framework.auxiliary.each_module do |mod, obj| - while (Gtk.events_pending?) - Gtk.main_iteration - end + # SEGV :( + # while (Gtk.events_pending?) + # Gtk.main_iteration + # end parts = mod.split("/") name = parts.pop