Skip to content

Commit 8a7d83e

Browse files
authored
Merge pull request #206 from androidseb25/dev
v1.5.1.2
2 parents c821e3a + a70affd commit 8a7d83e

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Build and Release dotNet
22

3-
#on: [push]
43
on:
54
push:
5+
branches: [ main ]
66
paths-ignore:
77
- '*.md'
88
- '.github/**'
@@ -114,7 +114,7 @@ jobs:
114114

115115

116116
build-project:
117-
#if: github.event.pull_request.merged == true
117+
if: github.event.pull_request.merged == true
118118
name: Build dotNet
119119
strategy:
120120
matrix:

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Docker Image CI
22

3-
#on: [ push ]
43
on:
54
push:
5+
branches: [ main, dev ]
66
paths-ignore:
77
- '*.md'
88
- '.github/**'

Services/WebSockClient.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,13 @@ public async void Stop()
149149

150150
private async void ReconnectDelayed(string clientToken)
151151
{
152+
if (ws != null)
153+
{
154+
Console.WriteLine("Stopping WebSocket...");
155+
await ws!.Stop(WebSocketCloseStatus.Empty, "Connection closing.");
156+
}
157+
158+
ws = null;
152159
await Task.Delay(10000);
153160
if (!isStopped)
154161
Start(clientToken, true);

iGotify Notification Assist.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
<InvariantGlobalization>true</InvariantGlobalization>
88
<RootNamespace>iGotify_Notification_Assist</RootNamespace>
9-
<AssemblyVersion>1.5.1.1</AssemblyVersion>
10-
<FileVersion>1.5.1.1</FileVersion>
11-
<Version>1.5.1.1</Version>
9+
<AssemblyVersion>1.5.1.2</AssemblyVersion>
10+
<FileVersion>1.5.1.2</FileVersion>
11+
<Version>1.5.1.2</Version>
1212
<LangVersion>default</LangVersion>
1313
</PropertyGroup>
1414

0 commit comments

Comments
 (0)