Skip to content
Snippets Groups Projects
Commit 81bc33f0 authored by Tofu Linden's avatar Tofu Linden
Browse files

CID-264

Checker: UNINIT_CTOR
Function: LLPluginProcessChild::LLPluginProcessChild()
File: /indra/llplugin/llpluginprocesschild.cpp
parent b7405a14
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ static const F32 PLUGIN_IDLE_SECONDS = 1.0f / 100.0f; // Each call to idle will ...@@ -43,6 +43,7 @@ static const F32 PLUGIN_IDLE_SECONDS = 1.0f / 100.0f; // Each call to idle will
LLPluginProcessChild::LLPluginProcessChild() LLPluginProcessChild::LLPluginProcessChild()
{ {
mState = STATE_UNINITIALIZED;
mInstance = NULL; mInstance = NULL;
mSocket = LLSocket::create(gAPRPoolp, LLSocket::STREAM_TCP); mSocket = LLSocket::create(gAPRPoolp, LLSocket::STREAM_TCP);
mSleepTime = PLUGIN_IDLE_SECONDS; // default: send idle messages at 100Hz mSleepTime = PLUGIN_IDLE_SECONDS; // default: send idle messages at 100Hz
......
...@@ -89,8 +89,9 @@ class LLPluginProcessChild: public LLPluginMessagePipeOwner, public LLPluginInst ...@@ -89,8 +89,9 @@ class LLPluginProcessChild: public LLPluginMessagePipeOwner, public LLPluginInst
STATE_ERROR, // generic bailout state STATE_ERROR, // generic bailout state
STATE_DONE // state machine will sit in this state after either error or normal termination. STATE_DONE // state machine will sit in this state after either error or normal termination.
}; };
EState mState;
void setState(EState state); void setState(EState state);
EState mState;
LLHost mLauncherHost; LLHost mLauncherHost;
LLSocket::ptr_t mSocket; LLSocket::ptr_t mSocket;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment