Commit 52ef285a by Sebastián Katzer

Fix potential crash in intervals method

parent 634255c2
......@@ -290,6 +290,9 @@
switch (every)
{
case null:
case "":
return TimeSpan.Zero;
case "second":
return new TimeSpan(TimeSpan.TicksPerSecond);
case "minute":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment