File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed
Papercut.Core/Infrastructure/Container Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -62,17 +62,9 @@ protected override void Load(ContainerBuilder builder)
6262 try
6363 {
6464 j . Instance . Load ( ) ;
65- }
66- catch
67- {
68- }
69- } )
70- . OnRelease (
71- j =>
72- {
73- try
74- {
75- j . Save ( ) ;
65+
66+ // immediately save all settings
67+ j . Instance . Save ( ) ;
7668 }
7769 catch
7870 {
Original file line number Diff line number Diff line change 77 "HttpServerEnabled_Description" : " ## Is the Papercut Web UI Server enabled (Defaults to true)?" ,
88 "IP" : " Any" ,
99 "IP_Description" : " ## SMTP Server listening IP. 'Any' is the default and it means '0.0.0.0'." ,
10- "IPCommServerIPAddress" : " 127.0.0.1" ,
11- "IPCommServerIPAddress_Description" : " ## The IP Comm Server IP address (Defaults to 127.0.0.1)." ,
12- "IPCommServerPort" : " 37403" ,
13- "IPCommServerPort_Description" : " ## The IP Comm Server listening port (Defaults to 37403)." ,
14- "IPCommServerUIPort" : " 37402" ,
15- "IPCommServerUIPort_Description" : " ## The IP Comm Server UI listening port (Defaults to 37402)." ,
1610 "IPCommServiceAddress" : " 127.0.0.1" ,
1711 "IPCommServiceAddress_Description" : " ## The IP Comm Service IP address (Defaults to 127.0.0.1)." ,
1812 "IPCommServicePort" : " 37403" ,
You can’t perform that action at this time.
0 commit comments