aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorSteven Koo <steven.koo@ni.com>2020-08-10 17:36:45 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-08-11 16:07:40 -0500
commitbe5bee81c4116388f6f3626b6ce1089845c4f792 (patch)
tree071d3a017575b2a43caf95515c74426305b54882 /host/examples
parentfc3f91e0cfb77e295673ac04d310ded65863c119 (diff)
downloaduhd-be5bee81c4116388f6f3626b6ce1089845c4f792.tar.gz
uhd-be5bee81c4116388f6f3626b6ce1089845c4f792.tar.bz2
uhd-be5bee81c4116388f6f3626b6ce1089845c4f792.zip
rfnoc: Resolves streamer/link segfaults on python
This commit resolves a segfault that occurs during teardown. Since teardown isn't detereministic in python, there were cases where the graph would destruct before the streamers or links got chance to cleanup. This would result in a segfault. This change gives the lambda a shared pointer to the object the callback method is calling on, so that it won't destruct before being called.
Diffstat (limited to 'host/examples')
0 files changed, 0 insertions, 0 deletions