#1995 Fixed log initialization.
This commit is contained in:
parent
0d9f17670e
commit
85a78ce537
@ -76,7 +76,12 @@ public:
|
||||
XMRIG_DISABLE_COPY_MOVE_DEFAULT(BasePrivate)
|
||||
|
||||
|
||||
inline BasePrivate(Process *process) : config(load(process)) {}
|
||||
inline BasePrivate(Process *process)
|
||||
{
|
||||
Log::init();
|
||||
|
||||
config = load(process);
|
||||
}
|
||||
|
||||
|
||||
inline ~BasePrivate()
|
||||
@ -166,7 +171,7 @@ private:
|
||||
xmrig::Base::Base(Process *process)
|
||||
: d_ptr(new BasePrivate(process))
|
||||
{
|
||||
Log::init();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user