mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05:00
Fixed VM destruction
This commit is contained in:
@@ -511,7 +511,8 @@ extern "C" {
|
||||
machine->setDataset(dataset);
|
||||
}
|
||||
|
||||
void randomx_destroy_vm(randomx_vm*) {
|
||||
void randomx_destroy_vm(randomx_vm* vm) {
|
||||
vm->~randomx_vm();
|
||||
}
|
||||
|
||||
void randomx_calculate_hash(randomx_vm *machine, const void *input, size_t inputSize, void *output) {
|
||||
|
||||
Reference in New Issue
Block a user