Crystal Space
Welcome,
Guest
. Please
login
or
register
.
May 21, 2013, 07:41:33 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9224
Posts in
2230
Topics by
5383
Members
Latest Member:
genevakcarter
Crystal Space
Crystal Space Development
Support
SCF warnings
« previous
next »
Pages:
[
1
]
Author
Topic: SCF warnings (Read 1332 times)
paganwarrior
Jr. Member
Posts: 68
SCF warnings
«
on:
October 21, 2006, 10:08:12 am »
I get many SCF warnings, when I shut down my application. The text:
SCF WARNING: 1 unreleased instances of class crystalspace.console.input.standard!
SCF WARNING: 1 unreleased instances of class crystalspace.console.output.standard!
SCF WARNING: 1 unreleased instances of class crystalspace.font.server.default!
etc.
I load this plugins with this function:
bool luaConsole::Initialize(iObjectRegistry* obj_reg)
{
object_reg = obj_reg;
conout = csQueryRegistryOrLoad<iConsoleOutput> (object_reg,
"crystalspace.console.output.standard");
if (!conout)
{
csReport (object_reg,
CS_REPORTER_SEVERITY_ERROR, "lua.console",
"Can't load the output console!");
return false;
}
conin = csQueryRegistryOrLoad<iConsoleInput> (object_reg,
"crystalspace.console.input.standard");
if (!conin)
{
csReport (object_reg,
CS_REPORTER_SEVERITY_ERROR, "lua.console",
"Can't load the input console!");
return false;
}
conin->Bind (conout);
conin->SetPrompt ("lua:");
ExecCallback* cb = new ExecCallback ();
conin->SetExecuteCallback (cb);
if(!cb->InitLua(object_reg)) return false;
cb->DecRef ();
conout->SetVisible (false);
return true;
}
The exit code is canonical:
csRef<iEventQueue> q =
CS_QUERY_REGISTRY(GetObjectRegistry(), iEventQueue);
if (q.IsValid()) q->GetEventOutlet()->Broadcast(csevQuit(GetObjectRegistry()));
Why I get this wranings?
How can I avoid this?
Thx for any reply!
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: SCF warnings
«
Reply #1 on:
October 23, 2006, 07:44:35 am »
Probably a leak in your application somewhere. You'll have to give a bit more source before I can see where it is.
Greetings,
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...