The client sends:
{
"jsonrpc": "2.0",
"id": 3,
"method": "DestroyObject",
"handle": 1,
"params": [
"SH01"
]
}
The engine returns:
{
"jsonrpc": "2.0",
"id": 3,
"result": {
"qSuccess": true
},
"close": [
2,
3
]
}
The sheet is removed and the handles 2 and 3 cannot be used anymore. In this example, the handle 2 refers to the sheet SH01 and the handle 3 refers to a child of the sheet .
The sheet and its children are removed.