Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Jun 5, 2024
1 parent 35685ed commit ff93d12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/flame/terminator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ defmodule FLAME.Terminator do

def handle_info({:idle_shutdown, timer_ref}, %Terminator{parent: parent} = state) do
{_current_timer, current_timer_ref} = state.idle_shutdown_timer

if timer_ref == current_timer_ref && state.idle_shutdown_check.() do
send_parent(parent, {:remote_shutdown, :idle})
new_state = system_stop(state, "idle shutdown")
Expand Down

0 comments on commit ff93d12

Please sign in to comment.