Skip to content

Commit eb6ae43

Browse files
authored
Update Packager.cpp
1 parent 44fa1fe commit eb6ae43

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Packager/Packager.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace {
5757
_service->Register(&_notification);
5858

5959
string result;
60-
_implementation = _service->Root<Exchange::IPackager>(_connectionId, 2000, _T("PackagerImplementation"));
60+
_implementation = _service->Root<Exchange::IPackager>(_connectionId, 5000, _T("PackagerImplementation"));
6161
if (_implementation == nullptr) {
6262
result = _T("Couldn't create package instance");
6363
_service->Unregister(&_notification);
@@ -81,9 +81,7 @@ namespace {
8181

8282
ASSERT(_connectionId != 0);
8383

84-
if (_service != nullptr) {
85-
RPC::IRemoteConnection* connection(_service->RemoteConnection(_connectionId));
86-
}
84+
RPC::IRemoteConnection* connection(_service->RemoteConnection(_connectionId));
8785

8886
// The process can disappear in the meantime...
8987
if (connection != nullptr) {

0 commit comments

Comments
 (0)