리눅스에서 c++로 코딩을 하고 있습니다.
그런데,, 생성자에서 메모리 할당을 해준 변수들이 소멸자에서 해제가 되야 하는데,,
인터럽트가 발생하여 프로그램을 죽이면 소멸자가 호출되지 않는것 같습니다..
소멸자가 호출되지 않아 메모리 릭이 발생하는 것 같은데,,
이러한 경우엔 어떻게 해야 하나요..ㅠ??
http://www.relisoft.com/resource/resmain.html
그러한 문제점을 다룬 좋은 글이예요..
Thanks for being one of those who care for people and mankind. I'd like to be one of those as well.
http://kldp.org/node/130327
제가 관련 쓰레드를 열었던 적이 있습니다.
http://www.relisoft.com/resou
http://www.relisoft.com/resource/resmain.html
그러한 문제점을 다룬 좋은 글이예요..
Thanks for being one of those who care for people and mankind.
I'd like to be one of those as well.
http://kldp.org/node/130327
http://kldp.org/node/130327
제가 관련 쓰레드를 열었던 적이 있습니다.
Thanks for being one of those who care for people and mankind.
I'd like to be one of those as well.