~singpolyma/sgx-jmp

d3a8cabf764b8816ab386c87df3fe697ccc910d0 — Stephen Paul Weber 1 year, 11 months ago 125227e
Use trampoline instead of custom fiber
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/customer_plan.rb
M lib/customer_plan.rb => lib/customer_plan.rb +1 -1
@@ 70,7 70,7 @@ class CustomerPlan
	end

	def bill_plan(note: nil)
		EM.promise_fiber do
		EMPromise.resolve(nil).then do
			DB.transaction do |db|
				next false unless !block_given? || yield(db)