Skip to content

Commit c9fd624

Browse files
committed
NuGet v1.0.5, moved lock
1 parent f8cae72 commit c9fd624

30 files changed

Lines changed: 30 additions & 19 deletions

LoggingModule/LoggingModule.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,12 @@ private void SendToSyslog(string msg)
242242
if (!String.IsNullOrEmpty(SyslogServerIp)
243243
&& SyslogServerPort > 0)
244244
{
245-
if (UDP != null)
245+
lock (SendLock)
246246
{
247-
byte[] data = Encoding.UTF8.GetBytes(msg);
248-
249-
lock (SendLock)
247+
if (UDP != null)
250248
{
249+
byte[] data = Encoding.UTF8.GetBytes(msg);
250+
251251
try
252252
{
253253
UDP.Send(data, data.Length);

LoggingModule/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.4.0")]
36-
[assembly: AssemblyFileVersion("1.0.4.0")]
35+
[assembly: AssemblyVersion("1.0.5.0")]
36+
[assembly: AssemblyFileVersion("1.0.5.0")]
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)