fixed resource leak in constraint viewer