Skip to content

Commit 9ad2942

Browse files
committed
Don't restart mongooseim as temporary
It is started as a permanent app, and should stay this way to ensure that the node does not remain running without the app.
1 parent d940bea commit 9ad2942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoose_cluster.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ with_app_stopped(App, F) ->
218218
try
219219
F()
220220
after
221-
Running andalso application:start(App)
221+
Running andalso application:start(App, permanent)
222222
end.
223223

224224
node_trans(F) ->

0 commit comments

Comments
 (0)