diff
fun diff(firstSnapshot: ImageRefPoolSnapshot, secondSnapshot: ImageRefPoolSnapshot): ImageRefPoolSnapshotsDiff
Computes difference between two snapshots. To confirm that a particular operation doesn't leak, take a snapshot before and after the operation, and check that the diff doesn't contain any unexpected new ImageRefs.
Return
Difference between two snapshots
Parameters
first Snapshot
Snapshot that was taken earlier
second Snapshot
Snapshot that was taken later