Here's a contract:
pragma solidity ^0.4.19;
contract StoreAndFree {
mapping(int=>int) myStore;
function StoreAndFree() public {
for (int i=1; i<100; i++) {
myStore[i] = i;
}
}
function kill() external {
selfdestruct(msg.sender);
}
}
When you kill it, what happens to the stored values? Are they still stored? Should you reset them to zero? Do you get gas back for resetting them to zero?