From c4d25287e4e72340de67fb3f538c06ca4b08a559 Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Sun, 28 Jun 2015 16:40:44 -0700 Subject: [PATCH] Reset finalization state --- lib/pry/pry_class.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pry/pry_class.rb b/lib/pry/pry_class.rb index 28323128..fddcafd2 100644 --- a/lib/pry/pry_class.rb +++ b/lib/pry/pry_class.rb @@ -312,6 +312,8 @@ Readline version #{Readline::VERSION} detected - will not auto_resize! correctly # Set all the configurable options back to their default values def self.reset_defaults @initial_session = true + @session_finalized = nil + self.config = Pry::Config.new Pry::Config::Default.new self.cli = false self.current_line = 1