hyrise/hyrise — pull request #237 by kaihowl (2013-11-05 14:19:03+00:00)
Title: Using weak pointers instead of bare pointers.

This fixes the problem that tasks might be deleted while they are still running notifyReadyObservers. Since observers did not declare any ownership of the "to be notified" tasks, this was bound to happen. Weak pointers seem a good fit in this case since shared pointers would create circular references and tasks would never be deleted.