Opened 11 years ago

Closed 11 years ago

#2819 closed bug (fixed)

destructor not called on static objects from shared libraries

Reported by: korli Owned by: axeld
Priority: normal Milestone: R1
Component: System/runtime_loader Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Here is test code for a shared lib. debugger in constructor is called. debugger in destructor is not called.

#include <Debug.h>

class Test4 {
public:
	Test4() { debugger("tutu"); };
	~Test4() { debugger("~tutu"); };
};

static Test4 test4;

Change History (1)

comment:1 Changed 11 years ago by bonefish

Resolution: fixed
Status: newclosed

Fixed in hrev27991.

Note: See TracTickets for help on using tickets.