# stopExpectSafeMemory

Description: stopExpectSafeMemory cheatcode documentation

Note: This document was authored using MDX

  Source: https://github.com/NomicFoundation/hardhat-website/tree/main/src/content/docs/docs/reference/cheatcodes/Environment/stop-expect-safe-memory.mdx

### Signature

```solidity
function stopExpectSafeMemory() external;
```

### Description

Stops all safe memory expectation in the current subcontext.
