]> sigrok.org Git - pulseview.git/commit - pv/views/trace/trace.hpp
Fix up change handler registration
authorSoeren Apel <redacted>
Thu, 14 Jun 2018 19:05:07 +0000 (21:05 +0200)
committerUwe Hermann <redacted>
Sat, 16 Jun 2018 10:56:31 +0000 (12:56 +0200)
commit99c4952654ae218a6b45ca61066deb4f81f68416
treed3e8cb8f7ca065c89f1bf50fb2be5c6c7d20eadb
parentb9a3a67e4bb39b769ac580d8d2f76eef6458f5d6
Fix up change handler registration

Before, the mismatched registration/deregistration lead to
crashes. Example:

Load file, load another file into the same session,
change any setting -> crash because first change notifier is
called but invalid
pv/views/trace/analogsignal.cpp
pv/views/trace/analogsignal.hpp
pv/views/trace/trace.cpp
pv/views/trace/trace.hpp