patacongo commented on pull request #1341:
URL: https://github.com/apache/incubator-nuttx/pull/1341#issuecomment-652127320


   It is an incorrect design to call C++ destructors from the OS in kernel mode 
(PROTECTED and KERNEL builds) or with interrupts disabled.  Calling the 
destructors introduces new problems similar to those discussed in Issue #1263 
and which I am working toward fixing in PR #1328 
   
   This change should not be done.  You should consider contributing to the 
correct fix that does not introduce additional problems of this nature.  I 
would recommend that this change not be merged is it is not correct.  It is 
expedient... but it is wrong.  That is forbidden in the INVIOLABLES.txt:  Let's 
do things right.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to