updated to the new pikotools api (changes in Log)
This commit is contained in:
@@ -82,8 +82,8 @@ void ThreadManager::Add(BaseThread * pbase, const wchar_t * thread_name)
|
||||
item.object->set_dependency(this);
|
||||
|
||||
// main log buffer (from the main thread)
|
||||
item.object->set_main_log_buffer(log.GetLogBuffer());
|
||||
item.object->set_main_file_log(log.GetFileLog());
|
||||
item.object->set_main_log_buffer(log.get_log_buffer());
|
||||
item.object->set_main_file_log(log.get_file_log());
|
||||
|
||||
// the logger buffer and model_connector are different
|
||||
item.object->set_log_buffer(&data.log_buffer);
|
||||
@@ -200,7 +200,7 @@ void ThreadManager::StopAll()
|
||||
|
||||
// the thread is stopped and we can set the thread log buffer pointing to
|
||||
// the main log buffer (from the main thread)
|
||||
item.object->set_log_buffer(log.GetLogBuffer());
|
||||
item.object->set_log_buffer(log.get_log_buffer());
|
||||
|
||||
delete item.thread_item_data;
|
||||
item.thread_item_data = nullptr;
|
||||
|
Reference in New Issue
Block a user