lib/origen/generator/job.rb in origen-0.7.47 vs lib/origen/generator/job.rb in origen-0.8.0

- old
+ new

@@ -107,11 +107,11 @@ '' end end def run - Origen.app.current_job = self + Origen.app.current_jobs << self begin if @options[:compile] Origen.generator.compiler.compile(@requested_pattern, @options) elsif @options[:job_type] == :merge Origen.generator.compiler.merge(@requested_pattern) @@ -149,9 +149,10 @@ end else raise end end + Origen.app.current_jobs.pop end end end end