Hm, this triggers a runtime error (bad weak_ptr from shared_from_this).