Browse Source

Lifetime checking

Brian Fiete 6 years ago
parent
commit
a233e73552
1 changed files with 8 additions and 0 deletions
  1. 8 0
      IDEHelper/Backend/BeModule.h

+ 8 - 0
IDEHelper/Backend/BeModule.h

@@ -205,6 +205,14 @@ public:
 class BeValue : public BeHashble
 {
 public:
+#ifdef _DEBUG
+	bool mLifetimeEnded;
+	BeValue()
+	{
+		mLifetimeEnded = false;
+	}
+#endif
+
 	virtual ~BeValue()
 	{