aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorJens Schmer <jens.schmer+git@gmail.com>2018-12-10 19:42:01 +0100
committerJens Schmer <jens.schmer+git@gmail.com>2018-12-12 17:25:56 +0100
commit6de2793bbff3a89ee8cad96ae40fc13127d62c11 (patch)
tree4197e8decd64b3974add609d6bc9983030c3ad96 /src/core/memory.cpp
parentef4dfba9270dc23ca57c5062485a357cb07fcf28 (diff)
Fix Process object leak on emulation stop
The Process object kept itself alive indefinitely because its handle_table contains a SharedMemory object which owns a reference to the same Process object, creating a circular ownership scenario. Break that up by storing only a non-owning pointer in the SharedMemory object.
Diffstat (limited to 'src/core/memory.cpp')
0 files changed, 0 insertions, 0 deletions