Skip to content

Commit

Permalink
changed default TimeFlow name
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykang920 committed May 28, 2018
1 parent 8c743df commit 30fab64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/x2net/Flows/TimeFlow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ public sealed class TimeFlow
: FrameBasedFlow<SynchronizedEventQueue>
#endif
{
private const string defaultName = "default";
private const string defaultName = "Default";

private static Map map;

Expand Down Expand Up @@ -502,7 +502,8 @@ internal TimeFlow Create(string name)
TimeFlow timeFlow;
if (!timeFlows.TryGetValue(name, out timeFlow))
{
timeFlow = new TimeFlow(name);
var flowName = String.Format("TimeFlow.{0}", name);
timeFlow = new TimeFlow(flowName);
timeFlows.Add(name, timeFlow);
timeFlow.Startup().Attach();
}
Expand Down

0 comments on commit 30fab64

Please sign in to comment.