Fixed VM destruction
This commit is contained in:
parent
39bd3ca1da
commit
92810ad761
1 changed files with 2 additions and 1 deletions
|
@ -511,7 +511,8 @@ extern "C" {
|
||||||
machine->setDataset(dataset);
|
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) {
|
void randomx_calculate_hash(randomx_vm *machine, const void *input, size_t inputSize, void *output) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue