You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f26b913
Browse filesBrowse the repository at this point in the historyBrowse files
* Destroy the `BarcodeReader` instance. If your page needs to create new instances from time to time, don't forget to destroy unused old instances, otherwise it will cause memory leaks.
* Destroy the `BarcodeScanner` instance. If your page needs to create new instances from time to time, don't forget to destroy unused old instances, otherwise it will cause memory leaks.
* Destroy the `BarcodeReader` instance. If your page needs to create new instances from time to time, don't forget to destroy unused old instances, otherwise it will cause memory leaks.
884
885
* @category Initialize and Destroy
885
886
*/
886
-
destroy(): Promise<void>;
887
+
destroyContext(): Promise<void>;
887
888
}
888
889
interfaceFrameFilter{
889
890
/**
@@ -1660,11 +1661,12 @@ declare class BarcodeScanner extends BarcodeReader {
1660
1661
* @category Open and Close
1661
1662
*/
1662
1663
hide(): Promise<void>;
1664
+
destroy(): Promise<any>;
1663
1665
/**
1664
1666
* Destroy the `BarcodeScanner` instance. If your page needs to create new instances from time to time, don't forget to destroy unused old instances, otherwise it will cause memory leaks.
0 commit comments