File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed
Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 11name : Build and Release dotNet
22
3- # on: [push]
43on :
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 :
Original file line number Diff line number Diff line change 11name : Docker Image CI
22
3- # on: [ push ]
43on :
54 push :
5+ branches : [ main, dev ]
66 paths-ignore :
77 - ' *.md'
88 - ' .github/**'
Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments