Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: cf42eb4ffc769737c43893877f92d8404cb63af4
      
https://github.com/synfig/synfig/commit/cf42eb4ffc769737c43893877f92d8404cb63af4
  Author: rodolforg <rodolf...@users.noreply.github.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M synfig-studio/src/gui/app.cpp
    M synfig-studio/src/gui/modules/module.cpp

  Log Message:
  -----------
  [Synfig Studio] destructors should not call virtual methods (#2003)

neither constructors.

The derived methods are not called, but those from the class itself.

https://scc.ustc.edu.cn/zlsc/sugon/intel/ssadiag_docs/pt_reference/references/sc_cpp_virtual_call_in_dtor.htm
https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP50-CPP.+Do+not+invoke+virtual+functions+from+constructors+or+destructors




_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to