Archived
Ice-3.7.0 : Bug in C# source code in \csharp\Ice\Application.cs
In Application.cs, constructor of Application does not initialize "iceSignalPolicy" class member, so Application always "handles" signals, even when told not to do.
Comments
-
Hi Ozgur,
Thank you for this bug report. This bug will be fixed shortly.
In the meantime, it's possible you could replace
Application
by a straight communicator initialization in your code? Application without signal handling is not that useful. If you're using Application because it makes it easy to provide a config file, we added this feature toinitialize
in Ice 3.7:https://doc.zeroc.com/display/Ice37/Communicator+Initialization
https://doc.zeroc.com/display/Ice37/Initialization+in+C-SharpAnd many demo programs use this feature, for example:
https://github.com/zeroc-ice/ice-demos/blob/3.7/csharp/Ice/hello/Client.cs#L23Best regards,
Bernard0 -
Hello Bernard,
Thank a lot for the explanation. For now, I have rebuilt Ice.dll from source adding a single line in Application constructor. In my implementation, I should first release all resources before communicator shutdown. That's why I do not let Ice.Application handle the signal.
Kind regards,
Ozgur.0