fixed: crash in thread plugin
ThreadInfo was not correctly initialized (plugin pointer was null) added to PluginInfo: set_dependency_for(WinixModel * winix_model) git-svn-id: svn://ttmath.org/publicrep/winix/branches/0.7.x@1162 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -45,7 +45,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
namespace Winix
|
||||
{
|
||||
class Db;
|
||||
@@ -55,6 +54,7 @@ class Functions;
|
||||
class Templates;
|
||||
class SessionManager;
|
||||
|
||||
class WinixModel;
|
||||
class WinixRequest;
|
||||
|
||||
|
||||
@@ -130,12 +130,10 @@ struct PluginInfo
|
||||
|
||||
|
||||
void set_dependency_for(WinixBase * winix_base);
|
||||
|
||||
void set_dependency_for(WinixBase & winix_base)
|
||||
{
|
||||
set_dependency_for(&winix_base);
|
||||
}
|
||||
void set_dependency_for(WinixBase & winix_base);
|
||||
|
||||
void set_dependency_for(WinixModel * winix_model);
|
||||
void set_dependency_for(WinixModel & winix_model);
|
||||
|
||||
void Clear()
|
||||
{
|
||||
@@ -291,6 +289,7 @@ private:
|
||||
|
||||
bool SetDependency(PluginInfo & info);
|
||||
void SetDependencyFor(WinixBase * winix_base);
|
||||
void SetDependencyFor(WinixModel * winix_model);
|
||||
void Lock();
|
||||
void Unlock();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user