lib/rufus/sc/jobs.rb in rufus-scheduler-2.0.15 vs lib/rufus/sc/jobs.rb in rufus-scheduler-2.0.16
- old
+ new
@@ -186,10 +186,15 @@
begin
trigger_block
+ job_thread[
+ "rufus_scheduler__trigger_thread__#{@scheduler.object_id}"
+ ] = nil
+
job_thread = nil
+
to_job.unschedule if to_job
rescue Exception => e
@scheduler.do_handle_exception(self, e)