[Gammaray-commits] [KDAB/GammaRay] 78bab1: Get rid off overambitious assert

Kevin Funk kevin.funk at kdab.com
Fri Mar 28 13:31:14 CET 2014


  Branch: refs/heads/2.0
  Home:   https://github.com/KDAB/GammaRay
  Commit: 78bab1fd0f0b254fd142dd2aeaf03518f570b561
      https://github.com/KDAB/GammaRay/commit/78bab1fd0f0b254fd142dd2aeaf03518f570b561
  Author: Kevin Funk <kevin.funk at kdab.com>
  Date:   2014-03-28 (Fri, 28 Mar 2014)

  Changed paths:
    M core/objecttypefilterproxymodel.h

  Log Message:
  -----------
  Get rid off overambitious assert

We might get null-pointers for the 'obj' var in some cases, this is due
the way the probe sends out model modification events. These are done in
the main-thread, and some of the object may have already been deleted in
another thread again, hence resulting in a null-pointer here.

This and other multi-threading-related issues should fix #31.

Related:
bc0aca9f601b7e525f1b25020226f3dbcacec8c3




More information about the Gammaray-commits mailing list