platform/wp7/RhoRubyLib/common/ThreadQueue.cs in rhodes-2.4.1 vs platform/wp7/RhoRubyLib/common/ThreadQueue.cs in rhodes-3.0.0.beta.1
- old
+ new
@@ -7,10 +7,13 @@
private RhoLogger LOG = RhoLogger.RHO_STRIP_LOG ? new RhoEmptyLogger() :
new RhoLogger("ThreadQueue");
public void setLogCategory(String category)
{
- LOG.setLogCategory(category);
+ if (category != null)
+ LOG.setLogCategory(category);
+ else
+ LOG = new RhoEmptyLogger();
}
public static int QUEUE_POLL_INTERVAL_SECONDS = 300;
public static int QUEUE_POLL_INTERVAL_INFINITE = int.MaxValue/1000;
public static int QUEUE_STARTUP_INTERVAL_SECONDS = 10;