This is the only thread that gets started without an explicit reference to
the stack. This prevents us from using a weakref in the resource, as it
will cause the Stack's reference count to hit 0 before the thread is run.
Now we explicitly pass a reference to the stack.
Reviewed: https:/ /review. openstack. org/183216 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=d29bb192748 9d5590f17d2f3ef 2904b6f5edd0d4
Committed: https:/
Submitter: Jenkins
Branch: master
commit d29bb1927489d55 90f17d2f3ef2904 b6f5edd0d4
Author: Zane Bitter <email address hidden>
Date: Thu May 14 16:50:36 2015 -0400
Pass stack to thread in resource_signal
This is the only thread that gets started without an explicit reference to
the stack. This prevents us from using a weakref in the resource, as it
will cause the Stack's reference count to hit 0 before the thread is run.
Now we explicitly pass a reference to the stack.
Change-Id: Ie51be7b54d97ef 184e401e395a7e7 e3a26ce003b
Related-Bug: #1454873