Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions XCast/XCast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,18 @@ namespace WPEFramework
const string XCast::Initialize(PluginHost::IShell *service)
{
string message = "";

SYSLOG(Logging::Startup, (_T("preeja XCast::Initialize:IN")));
_connectionId=-1;
ASSERT(nullptr != service);
ASSERT(nullptr == _service);
ASSERT(nullptr == _xcast);
ASSERT(0 == _connectionId);

SYSLOG(Logging::Startup, (_T("XCast::Initialize: PID=%u"), getpid()));
SYSLOG(Logging::Startup, (_T("preeja XCast::Initialize:just before connection id")));
If (connectionId != 0 ) {
SYSLOG(Logging::Startup, (_T("Failed to do the initialize")));
return message;
}

SYSLOG(Logging::Startup, (_T("prdebug XCast::Initialize: PID=%u"), getpid()));

_service = service;
_service->AddRef();
Expand Down Expand Up @@ -178,4 +183,4 @@ namespace WPEFramework
}
}
} // namespace Plugin
} // namespace WPEFramework
} // namespace WPEFramework
Loading