Skip to content

Commit a3e1965

Browse files
committed
🔀 Merge branch 'synchronize-state_authenticated'
2 parents dc8004d + d4b0b8f commit a3e1965

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/net/imap.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3791,7 +3791,9 @@ def state_selected!
37913791
end
37923792

37933793
def state_unselected!
3794-
state_authenticated! if connection_state.to_sym == :selected
3794+
synchronize do
3795+
state_authenticated! if connection_state.to_sym == :selected
3796+
end
37953797
end
37963798

37973799
def state_logout!

0 commit comments

Comments
 (0)