mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 10:07:13 -06:00
23.01
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// VirtThread.h
|
||||
|
||||
#ifndef __VIRT_THREAD_H
|
||||
#define __VIRT_THREAD_H
|
||||
#ifndef ZIP7_INC_VIRT_THREAD_H
|
||||
#define ZIP7_INC_VIRT_THREAD_H
|
||||
|
||||
#include "../../Windows/Synchronization.h"
|
||||
#include "../../Windows/Thread.h"
|
||||
@@ -13,7 +13,7 @@ struct CVirtThread
|
||||
NWindows::CThread Thread;
|
||||
bool Exit;
|
||||
|
||||
~CVirtThread() { WaitThreadFinish(); }
|
||||
virtual ~CVirtThread() { WaitThreadFinish(); }
|
||||
void WaitThreadFinish(); // call it in destructor of child class !
|
||||
WRes Create();
|
||||
WRes Start();
|
||||
|
||||
Reference in New Issue
Block a user