We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0402380 commit 6d419a0Copy full SHA for 6d419a0
WinNUT_V2/WinNUT-Client_Common/Nut_Socket.vb
@@ -203,12 +203,16 @@ Public Class Nut_Socket
203
If ConnectionStatus Then
204
streamInUse = True
205
206
- WriterStream.WriteLine(Query_Msg & vbCr)
207
- WriterStream.Flush()
208
- DataResult = Trim(ReaderStream.ReadLine())
209
-
210
- streamInUse = False
+ Try
+ WriterStream.WriteLine(Query_Msg & vbCr)
+ WriterStream.Flush()
+ Catch
+ Throw
211
+ Finally
212
+ streamInUse = False
213
+ End Try
214
215
+ DataResult = Trim(ReaderStream.ReadLine())
216
Response = EnumResponse(DataResult)
217
finalTransaction = New Transaction(Query_Msg, DataResult, Response)
218
0 commit comments