Blac Chyna Off the Hook in Drug Possession Case

1/13/2017 12:31 PM PST

Blac Chyna Off the Hook in Drug Possession Case (UPDATE)

EXCLUSIVE

3:00 PM PT -- Chyna's prosecution was deferred essentially because she's been on her best behavior since the arrest. Prosecutors tell us she completed a "sufficient amount" of classes, and because it was a non-violent offense ... they dismissed the charges. 

They wouldn't say what kind of classes she specifically took, but in cases like this it's typically some sort of substance abuse education or community service.Blac Chyna will avoid going to trial for her ecstasy bust in Texas ... we've learned the case has been dismissed.

According to court docs, prosecutors in Austin filed to drop the third degree felony charge against Chyna and a judge agreed, dismissing the charge Friday. 

We broke the story ... she was arrested about a year ago in Austin International Airport after acting erratically and getting verbally abusive with a bartender. Police said they found 2 pills in her sunglasses case.