Skip to content

Commit

Permalink
mRouter가 mMsgRouter로 변경된것 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
ewsajjang committed Mar 4, 2014
1 parent 6baa912 commit 719ff2e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/mvw/mvw.Services.pas
Expand Up @@ -3,20 +3,20 @@
interface

uses
mGenericClassList, mRouter,
mGenericClassList, mMsgRouter,
System.Classes, System.SysUtils;

var
router: TRouter<String> = nil;
msgRouter: TMsgRouter<String> = nil;
vmList: TGenericClassList = nil;
svcList: TGenericClassList = nil;

implementation

initialization

if not Assigned(router) then
router := TRouter<String>.Create;
if not Assigned(msgRouter) then
msgRouter := TMsgRouter<String>.Create;

if not Assigned(vmList) then
vmList := TGenericClassList.Create;
Expand All @@ -37,10 +37,10 @@ finalization
vmList := nil;
end;

if Assigned(router) then
if Assigned(msgRouter) then
begin
router.Free;
router := nil;
msgRouter.Free;
msgRouter := nil;
end;

end.

0 comments on commit 719ff2e

Please sign in to comment.