Skip to content

Commit c1fab76

Browse files
author
José Valim
committed
Return stage instead of inner state in code_change, closes #223
1 parent 663887a commit c1fab76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gen_stage.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2000,7 +2000,7 @@ defmodule GenStage do
20002000
other -> other
20012001
end
20022002
else
2003-
{:ok, state}
2003+
{:ok, stage}
20042004
end
20052005
end
20062006

0 commit comments

Comments
 (0)