<table><tr><td style="">jpalecek updated this revision to Diff 82568.<br />jpalecek added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D29616">View Revision</a></tr></table><br /><div><div><p>Move the client deregistering code from SensorBrowserModel to HostInfo</p>

<p>Also remove the clear function. After investigating further, I've<br />
found out it suffers from the same problem, that it doesn't deregister<br />
from the hosts it removes. On top of that, it leaves dangling pointers<br />
in mSensorInfoMap. It doesn't really clear all the other internal<br />
structures. And it is never used. So I think it's best to delete it.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R106 KSysguard</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D29616?vs=82486&id=82568">https://phabricator.kde.org/D29616?vs=82486&id=82568</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29616">https://phabricator.kde.org/D29616</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>gui/SensorBrowser.cpp<br />
gui/SensorBrowser.h<br />
gui/ksysguard.cpp<br />
gui/ksysguard.h</div></div></div><br /><div><strong>To: </strong>jpalecek, davidedmundson, ahiemstra<br /><strong>Cc: </strong>anthonyfieroni, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>