[vala] Make Vala.Method._base_interface_method weak



commit 911e3cfefb3fb10bcd99c6220064aff5a62eb746
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Tue Nov 19 15:38:34 2013 +0100

    Make Vala.Method._base_interface_method weak
    
    This fixes a circular reference for interface methods which have
    themselves as their base method.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712683

 vala/valamethod.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valamethod.vala b/vala/valamethod.vala
index 663ae6f..7070cd1 100644
--- a/vala/valamethod.vala
+++ b/vala/valamethod.vala
@@ -180,7 +180,7 @@ public class Vala.Method : Subroutine {
        private DataType _return_type;
 
        private weak Method _base_method;
-       private Method _base_interface_method;
+       private weak Method _base_interface_method;
        private bool base_methods_valid;
 
        Method? callback_method;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]