mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
266 B
Markdown
20 lines
266 B
Markdown
---
|
|
sidebar_label: JSHandle.dispose
|
|
---
|
|
|
|
# JSHandle.dispose() method
|
|
|
|
Releases the object referenced by the handle for garbage collection.
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class JSHandle {
|
|
abstract dispose(): Promise<void>;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
Promise<void>
|