Skip to content

Commit bad5eb3

Browse files
committed
Merge branch 'release/6.1.1' into master
2 parents 971c67e + fc7431d commit bad5eb3

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

src/Papercut.Core/Infrastructure/Container/PapercutCoreModule.cs

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff 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
{

src/Papercut.Service/Papercut.Service.Settings.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
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",

0 commit comments

Comments
 (0)