[texworks] SCRIPTING: TW.deleteLate()

Paul A Norman paul.a.norman at gmail.com
Sat Jun 18 09:00:13 CEST 2011


Hi,

Should TW.deleteLater() be callled on Dialogues once they are
completely finished?

i.e.

   var convertImage =    TW.createUI("blah.blah/xxx.ui);

   var ans = convertImage.exec();

    TW.deleteLater(convertImage) ;


I have had some memory issues that seem to have been solved by this.
Is that the right way to handle this?

Anything else that TW.deleteLater()  should be used for at all please?

Paul


More information about the texworks mailing list