Changeset 3440
- Timestamp:
- Jun 4, 2007, 9:31:57 AM (16 years ago)
- Location:
- branches/2.3.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3.1/doc/src/docbook/developerdoc/plugin_developer.xml
r3406 r3440 1417 1417 <listitem> 1418 1418 <para> 1419 After this, the plug-in instance is discarded. If there are 1419 After this, <methodname>Plugin.done()</methodname> is called and 1420 the plug-in instance is discarded. If there are 1420 1421 several configurations for a plug-in this procedure is repeated 1421 1422 for each configuration. 1422 1423 </para> 1423 1424 <warning>1425 <para>1426 The <methodname>Plugin.done()</methodname> method is never1427 called! This is bug that has been reported to the developers1428 and hopefully it will be fixed shortly.1429 </para>1430 </warning>1431 1424 </listitem> 1432 1425 </orderedlist> … … 1826 1819 same plug-in instance and call <methodname>ImmediateDownloadExporter.doExport()</methodname>. 1827 1820 In this case, the <methodname>Plugin.run()</methodname> is never called. 1828 1829 <note> 1830 <para> 1831 The <methodname>Plugin.done()</methodname> method is also never 1832 called. This is a bug which has been reported to the developers. 1833 </para> 1834 </note> 1821 After the export, <methodname>Plugin.done()</methodname> is called as 1822 usual. 1835 1823 </para> 1836 1824 … … 2551 2539 Then, the <methodname>unpack()</methodname> method is called. The 2552 2540 <methodname>Plugin.run()</methodname> method is never called in this case. 2553 The <methodname>Plugin.done()</methodname> method is also never called.2554 2541 </para> 2555 2542 </listitem> -
branches/2.3.1/www/filemanager/upload/upload.jsp
r3068 r3440 72 72 DbControl dc = null; 73 73 FileUpload upload = null; 74 FileUnpacker unpacker = null; 74 75 try 75 76 { … … 101 102 File f = null; 102 103 OutputStream toFile = null; 103 FileUnpacker unpacker = null;104 104 105 105 // Set file properties, check for duplicate files, save new file etc. … … 211 211 finally 212 212 { 213 if (unpacker != null) unpacker.done(); 213 214 if (dc != null) dc.close(); 214 215 }
Note: See TracChangeset
for help on using the changeset viewer.