File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
kbe/src/server/baseappmgr Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -123,16 +123,11 @@ void Baseappmgr::onAddComponent(const Components::ComponentInfos* pInfos)
123
123
124
124
if (pInfos->componentType == LOGINAPP_TYPE && cinfo->pChannel != NULL )
125
125
{
126
- std::map< COMPONENT_ID, Baseapp >::iterator iter = baseapps_.begin ();
127
-
128
- for (; iter != baseapps_.end (); iter++)
129
- {
130
- Mercury::Bundle::SmartPoolObjectPtr bundleptr = Mercury::Bundle::createSmartPoolObj ();
126
+ Mercury::Bundle::SmartPoolObjectPtr bundleptr = Mercury::Bundle::createSmartPoolObj ();
131
127
132
- (*bundleptr)->newMessage (LoginappInterface::onBaseappInitProgress);
133
- (*(*bundleptr)) << baseappsInitProgress_;
134
- (*bundleptr)->send (networkInterface_, cinfo->pChannel );
135
- }
128
+ (*bundleptr)->newMessage (LoginappInterface::onBaseappInitProgress);
129
+ (*(*bundleptr)) << baseappsInitProgress_;
130
+ (*bundleptr)->send (networkInterface_, cinfo->pChannel );
136
131
}
137
132
}
138
133
You can’t perform that action at this time.
0 commit comments