Skip to content

Commit d5e49cb

Browse files
committed
Properly wrapped non-virtual destructors in derived types.
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent e44a345 commit d5e49cb

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

CHANGELOG

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
0.0.8 - 21.12.2015
2+
Added:
3+
- Properly wrapped non-virtual destructors in derived types.
4+
15
0.0.7 - 12.12.2015
26
Added:
37
- Bindings for QtQuickWidgets and QtMultimediaWidgets.

QtSharp.CLI/Program.cs

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public static int Main(string[] args)
9090
if (parserResult.Kind == ParserResultKind.Success)
9191
{
9292
dependencies[libFile] = CppSharp.ClangParser.ConvertLibrary(parserResult.Library).Dependencies;
93+
parserResult.Library.Dispose();
9394
}
9495
else
9596
{

QtSharp/CompileInlinesPass.cs

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public override bool VisitLibrary(ASTContext library)
5454
var nativeLibrary = CppSharp.ClangParser.ConvertLibrary(parserResult.Library);
5555
this.Driver.Symbols.Libraries.Add(nativeLibrary);
5656
this.Driver.Symbols.IndexSymbols();
57+
parserResult.Library.Dispose();
5758
}
5859
}
5960
return true;

0 commit comments

Comments
 (0)