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:
@@ -207,7 +207,7 @@ using namespace Ticket;
|
||||
info.set_dependency_for(ticket_info);
|
||||
ticket_info.SetDb(info.db);
|
||||
ticket_info.SetTDb(&tdb);
|
||||
ticket_info.SetConfig(info.config);
|
||||
//ticket_info.SetConfig(info.config);
|
||||
ticket_info.SetSystem(info.system);
|
||||
ticket_info.SetCur(info.cur);
|
||||
ticket_info.SetFunctions(info.functions);
|
||||
|
||||
@@ -71,10 +71,10 @@ void TicketInfo::SetDb(Db * pdb)
|
||||
}
|
||||
|
||||
|
||||
void TicketInfo::SetConfig(Config * pconfig)
|
||||
{
|
||||
config = pconfig;
|
||||
}
|
||||
//void TicketInfo::SetConfig(Config * pconfig)
|
||||
//{
|
||||
// config = pconfig;
|
||||
//}
|
||||
|
||||
|
||||
void TicketInfo::SetSystem(System * psystem)
|
||||
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
|
||||
void SetTDb(TDb * ptdb);
|
||||
void SetDb(Db * pdb);
|
||||
void SetConfig(Config * pconfig);
|
||||
//void SetConfig(Config * pconfig);
|
||||
void SetSystem(System * psystem);
|
||||
void SetCur(Cur * pcur);
|
||||
void SetFunctions(Functions * pfunctions);
|
||||
@@ -141,7 +141,7 @@ private:
|
||||
|
||||
Db * db;
|
||||
TDb * tdb;
|
||||
Config * config;
|
||||
//Config * config;
|
||||
System * system;
|
||||
Cur * cur;
|
||||
Functions * functions;
|
||||
|
||||
Reference in New Issue
Block a user