Skip to content

Commit

Permalink
Reset finalization state
Browse files Browse the repository at this point in the history
  • Loading branch information
richo committed Jun 28, 2015
1 parent 48473fb commit c4d2528
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pry/pry_class.rb
Expand Up @@ -312,6 +312,8 @@ def self.auto_resize!
# 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
Expand Down

0 comments on commit c4d2528

Please sign in to comment.