A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use only the C++ dtor for Synchro::Raw
[simgrid.git]
/
src
/
simix
/
smx_process.cpp
diff --git
a/src/simix/smx_process.cpp
b/src/simix/smx_process.cpp
index
7b93e9c
..
87d4355
100644
(file)
--- a/
src/simix/smx_process.cpp
+++ b/
src/simix/smx_process.cpp
@@
-516,7
+516,7
@@
void SIMIX_process_kill(smx_process_t process, smx_process_t issuer) {
} else if (raw != nullptr) {
SIMIX_synchro_stop_waiting(process, &process->simcall);
-
SIMIX_synchro_destroy(process->waiting_synchro)
;
+
delete process->waiting_synchro
;
} else if (io != nullptr) {
SIMIX_io_destroy(process->waiting_synchro);