Virus pop up

if avast warns you about a virus and it says you should abort connection and you just close the window instead of clicking abort connection will the virus infect your computer.

No, this is the Web Shield in action, it scans data that you are browsing before it gets into your temporary internet files so your browser can display it.

If it intercepts a virus, it displays the warning and all you need do is click the OK button to abort the connection, this stops the infected data being saved to the temporary internet cache and doesn’t disconnect you from the internet.

It isn’t on your computer.

When you click on “Abort Connection” It does Not disconnect your computer from the internet. Abort Connection means you are canceling the virus to be downloaded to your computer. Webshield acts like a barrier which will block the virus from entering your PC. Do not worry cause A"Abort Connection" does not disconnect your PC from the internet, it detects and blocks the virus from entering your PC. ;D

what about if you don’t click abort connection what if you just close the window.

If you just close the window, you will let the data transfer continue.
That means the (possible) harmfull data can get to your system,
but that is something you have chosen for if you just close the window.

then it will probably be detected by the standard shield…

ok thanks