Update Printer.java

Remove to early `view` cleanup.
the view might be needed in case of printer refresh or error.
This commit is contained in:
Leibale Eidelman 2016-12-15 18:14:50 +02:00 committed by GitHub
parent 554e7f6bd1
commit e4f8e5fc2f

View File

@ -278,7 +278,6 @@ public class Printer extends CordovaPlugin {
}
pm.getInstance().print(docName, adapter, builder.build());
view = null;
}
});
}